Change application widget - Set number behind the title.

Fix wrong application title in the beamer template
This commit is contained in:
Norman Jäckel 2012-07-16 00:12:12 +02:00
parent 0279c07b15
commit 16e829a05d
2 changed files with 6 additions and 3 deletions

View File

@ -18,10 +18,13 @@
<span></span> <span></span>
</a> </a>
<a href="{% model_url application 'view' %}"> <a href="{% model_url application 'view' %}">
{{ application.public_version.title }}
({% trans 'Application' %}
{% if application.number %} {% if application.number %}
{% trans 'Application' %} {{ application.number }}: {{ application.number }})
{% else %}
<i>[{% trans "no number" %}]</i>)
{% endif %} {% endif %}
{{ application }}
</a> </a>
</li> </li>
{% empty %} {% empty %}

View File

@ -65,7 +65,7 @@
{% trans "Application" %} <i>[{% trans "no number" %}]</i> {% trans "Application" %} <i>[{% trans "no number" %}]</i>
{% endif %} {% endif %}
</h1> </h1>
<b>{{ application.title }}</b> <b>{{ application.public_version.title }}</b>
<hr> <hr>
{% endblock %} {% endblock %}