Fixed #652: Button for ageda item with related sid.

This commit is contained in:
Emanuel Schuetze 2013-06-03 22:18:03 +02:00
parent 4126c180c8
commit bdfdb4c064

View File

@ -46,7 +46,7 @@
{% if not item.related_sid %}
{{ item.text|safe|linebreaks }}
{% else %}
<a href="{% model_url item.get_related_slide %}" class="btn btn-small">{% trans 'View' %} "{{ item.get_related_slide }}" ({% trans item.get_related_type %})</a>
<a href="{% model_url item.get_related_slide %}" class="btn btn-small">{% trans item.get_related_type %} {{ item.get_related_slide }}</a>
{% endif %}
</p>