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>
</a>
<a href="{% model_url application 'view' %}">
{{ application.public_version.title }}
({% trans 'Application' %}
{% if application.number %}
{% trans 'Application' %} {{ application.number }}:
{{ application.number }})
{% else %}
<i>[{% trans "no number" %}]</i>)
{% endif %}
{{ application }}
</a>
</li>
{% empty %}

View File

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