Commit 8512c9b7 authored by gijs's avatar gijs
Browse files

Improve display of event reference.

parent f0f71c74
......@@ -22,18 +22,20 @@
</ul>
</nav>
<section class="item-reference">
<p>
Note related to:
{% if note.programmeItem.resolved %}
<a href="{{ note.programmeItem.link }}">
<h2>{{ note.programmeItem.date }} {{ note.programmeItem.time }} {{ note.programmeItem }}</h2>
<a href="{{ note.programmeItem.target.link }}">
{{ note.programmeItem.target.date }} {{ note.programmeItem.target.time }} {{ note.target.programmeItem }}
</a>
{{ note.programmeItem.summary }}
{% elif note.event.resolved %}
<a href="{{ note.event.link }}">
<h2>{{ note.event.date }} {{ note.event.time }} {{ note.event }}</h2>
<a href="{{ note.event.target.link }}">
{{ note.event.target.date }} {{ note.event.target.time }} {{ note.event }}
</a>
{{ note.event.summary }}
{% endif %}
</p>
</section>
<section class="long-text">
......
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