mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Users can now name task lists by providing the task list title in the `/todo` command on the same line. Example: `/todo School Work`. If no title is provided by the user, "Task list" (which is also the placeholder) is used as default. The author of a task list can later edit / update the task list title in the todo widget, just like the question in the poll widget. Fixes part of #20213.
18 lines
849 B
Handlebars
18 lines
849 B
Handlebars
<div class="todo-widget">
|
|
<h4 class="todo-task-list-title-header">{{t "Task list" }}</h4>
|
|
<i class="fa fa-pencil todo-edit-task-list-title"></i>
|
|
<div class="todo-task-list-title-bar">
|
|
<input type="text" class="todo-task-list-title" placeholder="{{t 'Add todo task list title'}}" />
|
|
<button class="todo-task-list-title-remove"><i class="fa fa-remove"></i></button>
|
|
<button class="todo-task-list-title-check"><i class="fa fa-check"></i></button>
|
|
</div>
|
|
<div class="add-task-bar">
|
|
<input type="text" class="add-task" placeholder="{{t 'New task'}}" />
|
|
<input type="text" class="add-desc" placeholder="{{t 'Description'}}" />
|
|
<button class="add-task">{{t "Add task" }}</button>
|
|
<div class="widget-error"></div>
|
|
</div>
|
|
<ul class="todo-widget new-style">
|
|
</ul>
|
|
</div>
|