Used correct values in event_detail

This commit is contained in:
David Taylor
2015-08-14 17:41:16 +03:00
committed by Tom Price
parent 27eb7cb64b
commit cf82ba9680

View File

@@ -53,7 +53,7 @@
<dd>
{% if object.person %}
<a href="{% url 'person_detail' object.person.pk %}" class="modal-href">
{{ object.person }}
{{ object.person.name }}
</a>
{% endif %}
</dd>
@@ -79,7 +79,7 @@
<dd>
{% if object.organisation %}
<a href="{% url 'organisation_detail' object.organisation.pk %}" class="modal-href">
{{ object.organisation }}
{{ object.organisation.name }}
</a>
{% endif %}
</dd>
@@ -108,7 +108,7 @@
<dd>
{% if object.venue %}
<a href="{% url 'venue_detail' object.venue.pk %}" class="modal-href">
{{ object.venue }}
{{ object.venue.name }}
</a>
{% endif %}
</dd>