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

Improve display of event reference.

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