Fixed random line break

This commit is contained in:
David Taylor
2016-08-09 20:57:48 +01:00
parent bd0832f284
commit a93f337d17

View File

@@ -159,11 +159,17 @@
<dd>
{% if object.based_on %}
<a href="{% url 'event_detail' pk=object.based_on.pk %}">
{% if object.based_on.is_rig %}N
{{ object.based_on.pk|stringformat:"05d" }}{% else %}
{{ object.based_on.pk }}{% endif %}
{{ object.based_on.name }} {% if object.based_on.mic %}by
{{ object.based_on.mic.name }}{% endif %}
{% if object.based_on.is_rig %}
N{{ object.based_on.pk|stringformat:"05d" }}
{% else %}
{{ object.based_on.pk }}
{% endif %}
{{ object.based_on.name }}
{% if object.based_on.mic %}
by {{ object.based_on.mic.name }}
{% endif %}
</a>
{% endif %}
</dd>