Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
8512c9b7
Commit
8512c9b7
authored
Nov 29, 2019
by
gijs
Browse files
Improve display of event reference.
parent
f0f71c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
generator/templates/note.html
View file @
8512c9b7
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment