mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
17 lines
543 B
Handlebars
17 lines
543 B
Handlebars
<br />
|
|
{{#each pending_tasks}}
|
|
<li>
|
|
<button class="task" data-key="{{ key }}">
|
|
</button>
|
|
<span class="task"><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"><strike><em><strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</em></strike></span>
|
|
</li>
|
|
{{/each}}
|