zulip/static/templates/widgets/todo_widget_tasks.hbs

17 lines
565 B
Handlebars

<br />
{{#each pending_tasks}}
<li>
<button class="task" data-key="{{ key }}">
</button>
<span class="task">{{ key }}. <strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</span>
</li>
{{/each}}
{{#each completed_tasks}}
<li>
<button class="task-completed task" data-key="{{ key }}">
<img class="task-completed" src="/static/images/checkbox-green.svg" data-key="{{ key }}"/>
</button>
<span class="task">{{ key }}. <strike><em><strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</em></strike></span>
</li>
{{/each}}