fix copy paste error which makes urls not be shown on event detail page, and fix headline
This commit is contained in:
parent
340a3eb58c
commit
00c053829e
|
@ -23,8 +23,8 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h3>URLs for {{ event.title }}</h3>
|
<h3>URLs for {{ event.title }}</h3>
|
||||||
{% if speaker.urls.exists %}
|
{% if event.urls.exists %}
|
||||||
{% for url in speaker.urls.all %}
|
{% for url in event.urls.all %}
|
||||||
<p><i class="{{ url.urltype.icon }}"></i> <b>{{ url.urltype }}</b>: <a href="{{ url.url }}" target="_blank" data-toggle="tooltip" title="{{ url.urltype }}">{{ url.url }}</a></p>
|
<p><i class="{{ url.urltype.icon }}"></i> <b>{{ url.urltype }}</b>: <a href="{{ url.url }}" target="_blank" data-toggle="tooltip" title="{{ url.urltype }}">{{ url.url }}</a></p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
{% if event.speakers.exists %}
|
{% if event.speakers.exists %}
|
||||||
<h4>Speakers</h4>
|
<h4>{{ event.event_type.host_title }}(s):</h4>
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
{% for speaker in event.speakers.all %}
|
{% for speaker in event.speakers.all %}
|
||||||
<h4><a href="{% url 'program:speaker_detail' camp_slug=camp.slug slug=speaker.slug %}" class="list-group-item">{{ speaker.name }}</a></h4>
|
<h4><a href="{% url 'program:speaker_detail' camp_slug=camp.slug slug=speaker.slug %}" class="list-group-item">{{ speaker.name }}</a></h4>
|
||||||
|
|
Loading…
Reference in a new issue