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

Improve display of event reference.

parent f0f71c74
...@@ -22,24 +22,26 @@ ...@@ -22,24 +22,26 @@
</ul> </ul>
</nav> </nav>
<section class="item-reference"> <section class="item-reference">
Note related to: <p>
{% if note.programmeItem.resolved %} Note related to:
<a href="{{ note.programmeItem.link }}"> {% if note.programmeItem.resolved %}
<h2>{{ note.programmeItem.date }} {{ note.programmeItem.time }} {{ note.programmeItem }}</h2> <a href="{{ note.programmeItem.target.link }}">
</a> {{ note.programmeItem.target.date }} {{ note.programmeItem.target.time }} {{ note.target.programmeItem }}
{{ note.programmeItem.summary }} </a>
{% elif note.event.resolved %} {{ note.programmeItem.summary }}
<a href="{{ note.event.link }}"> {% elif note.event.resolved %}
<h2>{{ note.event.date }} {{ note.event.time }} {{ note.event }}</h2> <a href="{{ note.event.target.link }}">
</a> {{ note.event.target.date }} {{ note.event.target.time }} {{ note.event }}
{{ note.event.summary }} </a>
{% endif %} {{ note.event.summary }}
</section> {% endif %}
</p>
<section class="long-text"> </section>
<h1>{{ note.title }}</h1>
{{ note.content }} <section class="long-text">
</section> <h1>{{ note.title }}</h1>
{{ note.content }}
</section>
{% endblock %} {% endblock %}
{% block footerresources %} {% block footerresources %}
<script src="{{ SITE_URL }}static/js/timejumper.js"></script> <script src="{{ SITE_URL }}static/js/timejumper.js"></script>
......
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