-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove my task title on htmx task load
- Loading branch information
1 parent
0b08aaa
commit 3644372
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
14 changes: 8 additions & 6 deletions
14
hypha/apply/dashboard/templates/dashboard/includes/my-tasks.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{% load i18n %} | ||
|
||
<div class="max-w-3xl mx-auto mb-10" id="task-list" hx-swap-oob="true"> | ||
<h2 class="font-light text-center">{% trans "My tasks" %}</h2> | ||
{% if my_tasks.data %} | ||
<h2 class="font-light text-center">{% trans "My tasks" %}</h2> | ||
|
||
<div class="border divide-y shadow-sm task--list"> | ||
{% for task in my_tasks.data %} | ||
{% include "todo/todolist_item.html" with button_type_class="button--transparent" %} | ||
{% endfor %} | ||
</div> | ||
<div class="border divide-y shadow-sm task--list"> | ||
{% for task in my_tasks.data %} | ||
{% include "todo/todolist_item.html" with button_type_class="button--transparent" %} | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> |