link talk and speakers to the detail views

This commit is contained in:
Thomas Steen Rasmussen 2016-08-09 00:59:43 +02:00
parent a1b3c3be29
commit b81be0ae53
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ Not scheduled yet
{% if event.speakers.exists %}
{% for speaker in event.speakers.all %}
<h3>{{ speaker }}</h3>
<h3><a href="{% url 'schedule:speaker_detail' slug=speaker.slug %}">{{ speaker }}</a></h3>
{{ speaker.biography|commonmark }}
{% endfor %}

View file

@ -11,7 +11,7 @@
{% if speaker.events.exists %}
{% for event in speaker.events.all %}
<h3>{{ event.title }}</h3>
<h3><a href="{% url 'schedule:event' slug=event.slug %}">{{ event.title }}</a></h3>
{{ event.abstract|commonmark }}
{% endfor %}