Fix breadcrumbs for ticket dependency pages

This commit is contained in:
Garret Wassermann 2018-12-21 19:30:15 -05:00
parent ce51036c6c
commit 9e8eb7f6b2
2 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,16 @@
{% block helpdesk_title %}{% trans "Add Ticket Dependency" %}{% endblock %}
{% block helpdesk_breadcrumb %}
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:list' %}">{% trans "Tickets" %}</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:list' %}{{ ticket.id }}/">{{ ticket.queue.slug }}-{{ ticket.id }}</a>
</li>
<li class="breadcrumb-item active">{% trans "Add Ticket Dependency" %}</li>
{% endblock %}
{% block helpdesk_body %}{% blocktrans %}
<h2>Add Ticket Dependency</h2>

View File

@ -2,6 +2,16 @@
{% block helpdesk_title %}{% trans "Delete Ticket Dependency" %}{% endblock %}
{% block helpdesk_breadcrumb %}
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:list' %}">{% trans "Tickets" %}</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:list' %}{{ ticket.id }}/">{{ ticket.queue.slug }}-{{ ticket.id }}</a>
</li>
<li class="breadcrumb-item active">{% trans "Delete Ticket Dependency" %}</li>
{% endblock %}
{% block helpdesk_body %}{% blocktrans %}
<h2>Delete Ticket Dependency</h2>