Fix application links in the widgets.

This commit is contained in:
Norman Jäckel 2012-07-23 00:41:44 +02:00
parent b9c48f602e
commit e74e80299f
2 changed files with 7 additions and 7 deletions

View File

@ -40,7 +40,7 @@
<span class="indentation">&nbsp;</span>
{% endfor %}
<a href="{% model_url item 'view' %}">{{ item }}</a>
{{ item.get_title_supplement }}
{{ item.get_title_supplement|safe }}
</li>
{% empty %}
<li>{% trans 'No items available.' %}</li>

View File

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