zulip/web/templates/widgets/todo_widget_tasks.hbs

27 lines
732 B
Handlebars
Raw Normal View History

<br />
2018-07-02 19:57:01 +02:00
{{#each pending_tasks}}
<li>
<label class="checkbox">
<div>
<input type="checkbox" class="task" data-key="{{ key }}" />
<span></span>
</div>
<div>
<strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}
</div>
</label>
</li>
2018-07-02 19:57:01 +02:00
{{/each}}
{{#each completed_tasks}}
<li>
<label class="checkbox">
<div>
<input type="checkbox" class="task" data-key="{{ key }}" checked="checked"/>
<span></span>
</div>
<strike><em><strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</em></strike>
</label>
</li>
2018-07-02 19:57:01 +02:00
{{/each}}