note.html 1.35 KB
Newer Older
1
{% extends "generator_base.html" %}
gijs's avatar
gijs committed
2
3
4
5
6
7
8
9
10
{% block title %}
  Caveat
  {% if note.programmeItem %}
    → {{ note.programmeItem }}
  {% elif note.event %}
    → {{ note.event }}
  {% endif %}
  → {{ note.title|striptags }}
{% endblock %}
11
{% block content %}
gijs's avatar
gijs committed
12
13
14
15
  <nav class="breadcrumbs">
    <ul>
      {% if note.programmeItem %}
      <li><a href="../activities.html">Activities</a></li>
16
      <li><a href="{{ note.programmeItem.target.link }}">{{ note.programmeItem }}</a></li>
gijs's avatar
gijs committed
17
18
      {% elif note.event %}
      <li><a href="../activities.html">Activities</a></li>
19
      <li><a href="{{ note.event.target.link }}">{{ note.event }}</a></li>
gijs's avatar
gijs committed
20
21
22
23
      {% endif %}
      <li>{{ note }}</li>
    </ul>
  </nav>
gijs's avatar
gijs committed
24
  <section class="item-reference">
gijs's avatar
gijs committed
25
    Note related to:
gijs's avatar
gijs committed
26
27
28
29
30
31
32
33
34
35
36
37
    {% if note.programmeItem %}
      <a href="{{ note.programmeItem.link }}">
        <h2>{{ note.programmeItem.date }} {{ note.programmeItem.time }} {{ note.programmeItem }}</h2>
      </a>
      {{ note.programmeItem.summary }}
    {% elif note.event %}
      <a href="{{ note.event.link }}">
        <h2>{{ note.event.date }} {{ note.event.time }} {{ note.event }}</h2>
      </a>
      {{ note.event.summary }}
    {% endif %}
    </section>
38
    <h1>{{ note.title }}</h1>
gijs's avatar
gijs committed
39
    {{ note.content }}
gijs's avatar
gijs committed
40
41
42
{% endblock %}
{% block footerresources %}
  <script src="{{ SITE_URL }}static/js/timejumper.js"></script>
43
{% endblock %}