Commit 9533ad84 authored by gijs's avatar gijs

Links to venue

parent 5962eefd
......@@ -50,7 +50,7 @@
<div class="show-infos">
<time class="date">{{ event.start|date:"j M" }}{% if event.end and event.end.date != event.start.date %} → {{ event.end|date:"j M" }}{% endif %}</time>
<span class="hour">{{ event.start|date:"G:i" }}{% if event.end %} → {{ event.end|date:"G:i" }}{% endif %}</span>
<span class="venue">{{ event.venue }}</span>
<span class="venue"><a href="{% url 'contour:venue' event.venue.pk %}">{{ event.venue }}</a></span>
<span class="type">{{ event.event_type }} </span>
<h4 class="title"><a href="{% url 'contour:event' event.pk %}">{{ event.project.title }}</a></h4>
{% if event.project.participants.first %}
......@@ -113,10 +113,10 @@
{% endif %}
<dt>Location</dt>
<dd>{{event.venue.name}}</dd>
<dd>{{event.venue.address}}</dd>
{% if event.venue.notes %}
<dd>{{event.venue.address|linebreaksbr}}</dd>
<!-- {% if event.venue.notes %}
<dd>{{event.venue.notes}}</dd>
{% endif %}
{% endif %} -->
</dl>
</div>
</div>
......@@ -140,7 +140,7 @@
{% endif %}
<time class="date">{{ event.start|date:"j M" }}{% if event.end and event.start|date:"j M" != event.end|date:"j M" %} → {{ event.end|date:"j M" }}{% endif %}</time>
<span class="hour">{{ event.start|date:"G:i" }}{% if event.end %} → {{ event.end|date:"G:i" }}{% endif %}</span>
<span class="venue">{{ event.venue }}</span>
<span class="venue"><a href="{% url 'contour:venue' event.venue.pk %}">{{ event.venue }}</a></span>
<span class="type">{{ event.event_type }} </span>
<h4 class="title"><a href="{% url 'contour:event' event.pk %}">{{ event.project.title }}</a></h4>
{% for participant in event.project.participants.all|slice:":5" %}
......@@ -161,7 +161,7 @@
</figure>
{% endif %}
<span class="hour">{{ event.start|date:"G:i" }}{% if event.end %} → {{ event.end|date:"G:i" }}{% endif %}</span>
<span class="venue">{{ event.venue }}</span>
<span class="venue"><a href="{% url 'contour:venue' event.venue.pk %}">{{ event.venue }}</a></span>
<span class="type">{{ event.event_type }} </span>
<h4 class="title"><a href="{% url 'contour:event' event.pk %}">{{ event.project.title }}</a></h4>
{% for participant in event.project.participants.all|slice:":5" %}
......
......@@ -62,7 +62,7 @@
{% endif %}
<time class="date">{{ event.start|date:"j M" }}{% if event.end and event.start|date:"j M" != event.end|date:"j M" %} → {{ event.end|date:"j M" }}{% endif %}</time>
<span class="hour">{{ event.start|date:"G:i" }}{% if event.end %} → {{ event.end|date:"G:i" }}{% endif %}</span>
<span class="venue">{{ event.venue }}</span>
<span class="venue"><a href="{% url 'contour:venue' event.venue.pk %}">{{ event.venue }}</a></span>
<span class="type">{{ event.event_type }} </span>
<h4 class="title"><a href="{% url 'contour:event' event.pk %}">{{ event.project.title }}</a></h4>
{% for participant in event.project.participants.all|slice:":5" %}
......@@ -83,7 +83,7 @@
</figure>
{% endif %}
<span class="hour">{{ event.start|date:"G:i" }}{% if event.end %} → {{ event.end|date:"G:i" }}{% endif %}</span>
<span class="venue">{{ event.venue }}</span>
<span class="venue"><a href="{% url 'contour:venue' event.venue.pk %}">{{ event.venue }}</a></span>
<span class="type">{{ event.event_type }} </span>
<h4 class="title"><a href="{% url 'contour:event' event.pk %}">{{ event.project.title }}</a></h4>
{% for participant in event.project.participants.all|slice:":5" %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment