Files
zulip/web/templates/widgets/todo_widget_tasks.hbs
N-Shar-ma 352e2ebc5a todo_widget: Move the add-task-bar from above to below the task list.
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.
2024-04-13 21:56:33 -07:00

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}}