Template: Semorg-task-row: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 3: Line 3:
{{{description|}}}</div></td>  
{{{description|}}}</div></td>  
<td>{{semorg-person-link|{{{responsible|}}}|none}}</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
   |form={{int:semorg-task-form}}
   |form={{int:semorg-task-form}}
   |target={{{target|}}}
   |target={{{target|}}}
   |suffix={{#semorg-true:{{{done|}}}
   |suffix={{semorg-task-check|{{{done|}}}}}
    |
    |&nbsp;&nbsp;{{#autoedit:form={{int:semorg-task-form}}
      |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>

Revision as of 12:35, 23 May 2021

This page is part of the Semantic Organization extension.