Add saved query title to breadcrumbs for better visibility

This commit is contained in:
Garret Wassermann 2018-12-21 19:22:16 -05:00
parent 2430043f4f
commit 967862e739

View File

@ -18,7 +18,12 @@
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:list' %}">{% trans "Tickets" %}</a>
</li>
{% if from_saved_query and saved_query.user == user %}
<li class="breadcrumb-item">{% trans "Saved Query" %}</li>
<li class="breadcrumb-item active">{{ saved_query.title }}</li>
{% else %}
<li class="breadcrumb-item active">Overview</li>
{% endif %}
{% endblock %}