mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
When users needed to add a new task in the todo widget, they would type it in the field at the top, but the task would be appended to the list, showing up at the very bottom, which can seem unintuitive. Now the `add-task-bar` is at the bottom of the list, so that when a new task is added, it'll appear right where it was typed. The task field would then shift lower.
18 lines
562 B
Handlebars
18 lines
562 B
Handlebars
{{#each all_tasks}}
|
|
<li>
|
|
<label class="checkbox">
|
|
<div>
|
|
<input type="checkbox" class="task" data-key="{{ key }}" {{#if completed}}checked{{/if}}/>
|
|
<span></span>
|
|
</div>
|
|
<div>
|
|
{{#if completed}}
|
|
<strike><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</strike>
|
|
{{else}}
|
|
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
</label>
|
|
</li>
|
|
{{/each}}
|