Template: Semorg-task-row: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{?target|}}}|{{{?title|}}}]]<div class="semorg-list-row-details">
<td>[[{{{target|}}}|{{{title|}}}]]<div class="semorg-list-row-details">
{{{?description|}}}</div></td>  
{{{description|}}}</div></td>  
<td>{{semorg-person-link|{{{?responsible|}}}|user}}</td>  
<td>{{semorg-person-link|{{{responsible|}}}|none}}</td>  
<td>{{#semorg-true:{{{?done|}}}
<td>{{semorg-task-status
   |<span class="badge badge-success">{{int:semorg-task-status-done}}</span> {{int:semorg-timespan-since|{{{?done-date|}}}}}  
   |due-date={{{due-date|}}}
   |{{#ifexpr:{{#time:U}} < {{#time:U|{{{?due-date|}}}}}
   |done-date={{{done-date|}}}
    |<span class="badge badge-warning">{{int:semorg-task-status-due}}</span> {{int:semorg-timespan-until|{{{?due-date|}}}}}
  |done={{{done|}}}
    |<span class="badge badge-danger">{{int:semorg-task-status-overdue}}</span> {{int:semorg-timespan-since|{{{?due-date|}}}}}
  }}
}}</td>  
}}</td>  
{{semorg-showedit
{{semorg-showedit
   |target={{{?target|}}}
  |form={{int:semorg-task-form}}
   |suffix={{#semorg-true:{{{?done|}}}
   |target={{{target|}}}
   |suffix={{#semorg-true:{{{done|}}}
     |
     |
     |&nbsp;&nbsp;{{#autoedit:form={{int:semorg-task-form}}
     |{{semorg-task-check|{{{target|}}}}}
      |target={{{?target|}}}
      |link text=<span class="fa fa-check" data-toggle="tooltip" title="{{int:semorg-task-do-tooltip}}"></span>
      |link type=link
      |summary={{int:semorg-task-do-summary}}
      |query string={{int:semorg-task-template}}[done-date]={{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}
      |reload
    }}
   }}
   }}
}}
}}
</tr></includeonly>
</tr></includeonly>

Latest revision as of 12:37, 23 May 2021

This page is part of the Semantic Organization extension.