Commit 4d5105b2 authored by Michal Čihař's avatar Michal Čihař

Add breadcums

parent aec6fbd9
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% load i18n %}
{% block breadcums %}
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
{% endblock %}
{% block content %} {% block content %}
{% include "subproject_info.html" %} {% include "subproject_info.html" %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% 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 %} {% block content %}
{% include "translation_info.html" %} {% include "translation_info.html" %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% 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 %} {% block content %}
{% include "translation_info.html" %} {% include "translation_info.html" %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment