note.html 1.99 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 %}
5
6
7
    {% if note.programmeItem.target.event.resolved %}
      {{ note.programmeItem.target.event }}
    {% endif %}
gijs's avatar
gijs committed
8
    → {{ note.programmeItem }}
gijs's avatar
gijs committed
9
  {% elif note.event.resolved %}
gijs's avatar
gijs committed
10
11
12
13
    → {{ note.event }}
  {% endif %}
  → {{ note.title|striptags }}
{% endblock %}
14
{% block content %}
gijs's avatar
gijs committed
15
16
  <nav class="breadcrumbs">
    <ul>
gijs's avatar
gijs committed
17
18
      {% if note.programmeItem.resolved %}
      <li><a href="../index.html">Timeline</a></li>
19
20
21
      {% if note.programmeItem.target.event.resolved %}
      <li><a href="{{ note.programmeItem.target.event.target.link }}">{{ note.programmeItem.target.event }}
      {% endif %}
22
      <li><a href="{{ note.programmeItem.target.link }}">{{ note.programmeItem }}</a></li>
gijs's avatar
gijs committed
23
24
      {% elif note.event.resolved %}
      <li><a href="../index.html">Timeline</a></li>
25
      <li><a href="{{ note.event.target.link }}">{{ note.event }}</a></li>
gijs's avatar
gijs committed
26
27
28
29
      {% endif %}
      <li>{{ note }}</li>
    </ul>
  </nav>
gijs's avatar
gijs committed
30
  <!-- <section class="item-reference">
gijs's avatar
gijs committed
31
    <p>
gijs's avatar
gijs committed
32
      Note for:
gijs's avatar
gijs committed
33
34
      {% if note.programmeItem.resolved %}
        <a href="{{ note.programmeItem.target.link }}">
gijs's avatar
gijs committed
35
          {{ 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
36
37
38
39
        </a>
        {{ note.programmeItem.summary }}
      {% elif note.event.resolved %}
        <a href="{{ note.event.target.link }}">
gijs's avatar
gijs committed
40
          {{ 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
41
42
43
44
        </a>
        {{ note.event.summary }}
      {% endif %}
    </p>
gijs's avatar
gijs committed
45
  </section> -->  
gijs's avatar
gijs committed
46
47
48
49
50
  
  <section class="long-text">
    <h1>{{ note.title }}</h1>
    {{ note.content }}
  </section>
gijs's avatar
gijs committed
51
52
53
{% endblock %}
{% block footerresources %}
  <script src="{{ SITE_URL }}static/js/timejumper.js"></script>
54
{% endblock %}