mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-29 10:09:37 +01:00
Sidebar message when no saved queries exist, for #684 task 1
This commit is contained in:
parent
1af01b275f
commit
74974f0030
@ -15,7 +15,7 @@
|
|||||||
<span>Tickets</span>
|
<span>Tickets</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu" aria-labelledby="ticketsDropdown">
|
<div class="dropdown-menu" aria-labelledby="ticketsDropdown">
|
||||||
<a class="dropdown-item" href="{% url 'helpdesk:list' %}">{% trans "Tickets" %}</a>
|
<a class="dropdown-item" href="{% url 'helpdesk:list' %}">{% trans "All Tickets" %}</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
{% if user_saved_queries_ %}
|
{% if user_saved_queries_ %}
|
||||||
<h6 class="dropdown-header">Saved Queries:</h6>
|
<h6 class="dropdown-header">Saved Queries:</h6>
|
||||||
@ -26,6 +26,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<p>{% trans "No saved queries currently available. You can create one in the All Tickets page." %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user