Skip to content

Commit

Permalink
Fix my tasks title issue on dismissing all tasks (#4112)
Browse files Browse the repository at this point in the history
Fixes #4091
  • Loading branch information
sandeepsajan0 authored Sep 4, 2024
1 parent ce387f1 commit a3bd495
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions hypha/apply/dashboard/templates/dashboard/includes/my-tasks.html
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>

0 comments on commit a3bd495

Please sign in to comment.