mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
todo_widget_tasks: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
0dbe85fd34
commit
2dc2255f26
@@ -1,17 +1,17 @@
|
|||||||
{{#each all_tasks}}
|
{{#each all_tasks}}
|
||||||
<li>
|
<li>
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<div class="todo-checkbox">
|
<span class="todo-checkbox">
|
||||||
<input type="checkbox" class="task" data-key="{{ key }}" {{#if completed}}checked{{/if}}/>
|
<input type="checkbox" class="task" data-key="{{ key }}" {{#if completed}}checked{{/if}}/>
|
||||||
<span class="custom-checkbox"></span>
|
<span class="custom-checkbox"></span>
|
||||||
</div>
|
</span>
|
||||||
<div class="todo-task">
|
<span class="todo-task">
|
||||||
{{#if completed}}
|
{{#if completed}}
|
||||||
<s><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</s>
|
<s><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</s>
|
||||||
{{else}}
|
{{else}}
|
||||||
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
|
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
Reference in New Issue
Block a user