Include current page in breadcums
This commit is contained in:
parent
df12a0c641
commit
9807d127bc
@ -3,6 +3,7 @@
|
||||
|
||||
{% block breadcums %}
|
||||
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
|
||||
<li><a href="{{ object.get_absolute_url }}">{{ object.name }}</a></li>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -5,6 +5,7 @@
|
||||
<li><a href="{{ unit.translation.subproject.project.get_absolute_url }}">{{ unit.translation.subproject.project }}</a></li>
|
||||
<li><a href="{{ unit.translation.subproject.get_absolute_url }}">{{ unit.translation.subproject.name }}</a></li>
|
||||
<li><a href="{{ unit.translation.get_absolute_url }}">{{ unit.translation.language.name }}</a></li>
|
||||
<li><a href="{{ unit.translation.get_translate_url }}">{% trans "translate" %}</a></li>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -4,6 +4,7 @@
|
||||
{% block breadcums %}
|
||||
<li><a href="{{ object.subproject.project.get_absolute_url }}">{{ object.subproject.project }}</a></li>
|
||||
<li><a href="{{ object.subproject.get_absolute_url }}">{{ object.subproject.name }}</a></li>
|
||||
<li><a href="{{ object.get_absolute_url }}">{{ object.language.name }}</a></li>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Loading…
Reference in New Issue
Block a user