Fix styling of sidebar text for saved queries

This commit is contained in:
Garret Wassermann 2018-12-28 02:26:08 -05:00
parent 523b3065db
commit 984f5b1cfb

View File

@ -17,8 +17,8 @@
<div class="dropdown-menu" aria-labelledby="ticketsDropdown">
<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>
{% if user_saved_queries_ %}
{% for q in user_saved_queries_ %}
<a class="dropdown-item" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
{% if q.shared %}
@ -27,7 +27,7 @@
</a>
{% endfor %}
{% 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 %}
</div>
</li>