mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-28 01:28:51 +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>
|
||||
</a>
|
||||
<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>
|
||||
{% if user_saved_queries_ %}
|
||||
<h6 class="dropdown-header">Saved Queries:</h6>
|
||||
@ -26,6 +26,8 @@
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p>{% trans "No saved queries currently available. You can create one in the All Tickets page." %}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user