mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-29 10:09:37 +01:00
Fix styling of sidebar text for saved queries
This commit is contained in:
parent
523b3065db
commit
984f5b1cfb
@ -17,8 +17,8 @@
|
|||||||
<div class="dropdown-menu" aria-labelledby="ticketsDropdown">
|
<div class="dropdown-menu" aria-labelledby="ticketsDropdown">
|
||||||
<a class="dropdown-item" href="{% url 'helpdesk:list' %}">{% trans "All 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_ %}
|
|
||||||
<h6 class="dropdown-header">Saved Queries:</h6>
|
<h6 class="dropdown-header">Saved Queries:</h6>
|
||||||
|
{% if user_saved_queries_ %}
|
||||||
{% for q in user_saved_queries_ %}
|
{% for q in user_saved_queries_ %}
|
||||||
<a class="dropdown-item" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
<a class="dropdown-item" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
||||||
{% if q.shared %}
|
{% if q.shared %}
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% trans "No saved queries currently available. You can create one in the All Tickets page." %}</p>
|
<p class="dropdown-item small text-wrap">{% 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