WIP: weather integration
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<li class="task-list__item{{ not task.isActive ? ' task-list__item--completed' : '' }}">
|
||||
<form class="task-list__completion-form">
|
||||
<input type="hidden" name="date" value="{{ selected_date|default('now')|date('Y-m-d') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('completion' ~ task.id) }}">
|
||||
<input
|
||||
id="task-completion-{{ task.id }}"
|
||||
@@ -20,6 +21,9 @@
|
||||
<span class="visually-hidden">Mark {{ task.title }} as {{ task.isActive ? 'completed' : 'active' }}</span>
|
||||
</label>
|
||||
<a class="task-list__title" href="{{ path('app_task_edit', {'id': task.id}) }}">{{ task.title }}</a>
|
||||
{% if task.isRecurring %}
|
||||
<span class="task-list__recurrence">Every {{ task.recurrenceInterval }} {{ task.recurrenceUnit }}{{ task.recurrenceInterval != 1 ? 's' : '' }}</span>
|
||||
{% endif %}
|
||||
</form>
|
||||
<form
|
||||
class="task-list__remove-form"
|
||||
@@ -33,4 +37,8 @@
|
||||
<span class="material-symbols-outlined" aria-hidden="true">delete</span>
|
||||
</button>
|
||||
</form>
|
||||
<a class="task-list__title" href="{{ path('app_task_edit', {'id': task.id}) }}">
|
||||
<span class="material-symbols-outlined" aria-hidden="true">edit</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user