note.html 1.42 KB
Newer Older
1
{% extends "generator_base.html" %}
gijs's avatar
gijs committed
2
3
{% block title %}
  Caveat
gijs's avatar
gijs committed
4
  {% if note.programmeItem.resolved %}
gijs's avatar
gijs committed
5
    → {{ note.programmeItem }}
gijs's avatar
gijs committed
6
  {% elif note.event.resolved %}
gijs's avatar
gijs committed
7
8
9
10
    → {{ note.event }}
  {% endif %}
  → {{ note.title|striptags }}
{% endblock %}
11
{% block content %}
gijs's avatar
gijs committed
12
13
  <nav class="breadcrumbs">
    <ul>
gijs's avatar
gijs committed
14
15
      {% if note.programmeItem.resolved %}
      <li><a href="../index.html">Timeline</a></li>
16
      <li><a href="{{ note.programmeItem.target.link }}">{{ note.programmeItem }}</a></li>
gijs's avatar
gijs committed
17
18
      {% elif note.event.resolved %}
      <li><a href="../index.html">Timeline</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>
gijs's avatar
gijs committed
38
39
40
41
42
    
    <section class="long-text">
      <h1>{{ note.title }}</h1>
      {{ note.content }}
    </section>
gijs's avatar
gijs committed
43
44
45
{% endblock %}
{% block footerresources %}
  <script src="{{ SITE_URL }}static/js/timejumper.js"></script>
46
{% endblock %}