note.html 1.69 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
    <p>
gijs's avatar
gijs committed
26
      Note for:
gijs's avatar
gijs committed
27
28
      {% if note.programmeItem.resolved %}
        <a href="{{ note.programmeItem.target.link }}">
gijs's avatar
gijs committed
29
          {{ note.programmeItem }}{% if note.programmeItem.target.date.value %}, {{ note.programmeItem.target.date }}{% endif %}{% if note.programmeItem.target.time.value %}, {{ note.programmeItem.target.time }}{% endif %}
gijs's avatar
gijs committed
30
31
32
33
        </a>
        {{ note.programmeItem.summary }}
      {% elif note.event.resolved %}
        <a href="{{ note.event.target.link }}">
gijs's avatar
gijs committed
34
          {{ note.event }}{% if note.event.target.date.value %}, {{ note.event.target.date }}{% endif %}{% if note.event.target.time.value %}, {{ note.event.target.time }}{% endif %}
gijs's avatar
gijs committed
35
36
37
38
39
40
41
42
43
44
        </a>
        {{ note.event.summary }}
      {% endif %}
    </p>
  </section>
  
  <section class="long-text">
    <h1>{{ note.title }}</h1>
    {{ note.content }}
  </section>
gijs's avatar
gijs committed
45
46
47
{% endblock %}
{% block footerresources %}
  <script src="{{ SITE_URL }}static/js/timejumper.js"></script>
48
{% endblock %}