Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4
    • Labels:
      None
    • Similar issues:

      Description

      Hi Devs,

      for my personal Task Management i missed an Kanban-Board. Please feel free to use it. The only thing i miss is the order of the stati in the columns, so "open" is before "done". You find it attached:

      {{velocity}}
      #set($query = "from doc.object(TaskManager.TaskManagerClass) as document where doc.fullName <> 'TaskManager.TaskManagerTemplate' and document.assignee=:currentUser order by document.duedate asc")
      #set($results = $services.query.xwql("$query").bindValue("currentUser", "$xcontext.getUserReference()").execute())
      #set($propertyClass = $xwiki.getDocument($results.get(0)).getObject('TaskManager.TaskManagerClass').getxWikiClass().get("status"))
      
      {{html}}
      <table>
      <tr>
      #foreach($stat in $propertyClass.mapValues.entrySet())
      <th>$stat.key</th>
      #end
      </tr>
      <tr>
      #foreach($stat in $propertyClass.mapValues.entrySet())
      <td>
       #foreach($result in $results)
        #set($object = $xwiki.getDocument($result).getObject('TaskManager.TaskManagerClass'))   
        #set($objectName = $object.getProperty('name').value)   
        #set($objectStatus = $object.getProperty('status').value)   
        #set($objectDueDate = $datetool.format('dd.MMM.yyyy',$object.getProperty('duedate').value))
        #if($objectStatus.equals($stat.key))
          <a href="../../../..$xwiki.getDocument($result).getURL("view")">$xwiki.getDocument($result).getName()</a> $objectDueDate<BR/>
        #end
       #end
      </td>
      #end
      </tr>
      </table>
      
      {{/html}}
      
      [[All>>TaskManager.WebHome]]
      {{/velocity}}
      

        Attachments

        1. application-task.xar
          44 kB
        2. assignee.png
          assignee.png
          65 kB
        3. dependencies.png
          dependencies.png
          96 kB
        4. kanban.png
          kanban.png
          44 kB

          Activity

            People

            • Assignee:
              jsimard Jean SIMARD
              Reporter:
              matthiaw Matthias Wegner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: