Add breadcums

This commit is contained in:
Michal Čihař 2012-03-01 10:22:20 +01:00
parent aec6fbd993
commit 4d5105b254
3 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block breadcums %}
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
{% endblock %}
{% block content %}
{% include "subproject_info.html" %}

View File

@ -1,6 +1,12 @@
{% extends "base.html" %}
{% load i18n %}
{% block breadcums %}
<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>
{% endblock %}
{% block content %}
{% include "translation_info.html" %}

View File

@ -1,6 +1,11 @@
{% extends "base.html" %}
{% load i18n %}
{% 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>
{% endblock %}
{% block content %}
{% include "translation_info.html" %}