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
3ba04ec6
Commit
3ba04ec6
authored
Nov 13, 2019
by
gijs
Browse files
Tag display detail
parent
ca5fa8b5
Changes
1
Show whitespace changes
Inline
Side-by-side
generator/templates/tag.html
View file @
3ba04ec6
...
...
@@ -15,43 +15,43 @@
{{ tag.content }}
{% endif %}
{% if tag.produsers %}
<h
2
>
Produsers
</h
2
>
<h
3
>
Produsers
</h
3
>
<ul
class=
"simplelist"
>
{% for link, _, produser in tag.produsers|link_iterator %}
<li><a
href=
"{{ produser.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
→
</span>
{% endif %}{{ produser }}
</a></li>
<li><a
href=
"{{ produser.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
</span>
→
{% endif %}{{ produser }}
</a></li>
{% endfor %}
</ul>
{% endif %}
{% if tag.trajectories %}
<h
2
>
Trajectories
</h
2
>
<h
3
>
Trajectories
</h
3
>
<ul
class=
"simplelist"
>
{% for link, _, trajectory in tag.trajectories|link_iterator %}
<li><a
href=
"{{ trajectory.produser.value.target.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
→
</span>
{% endif %}{{ trajectory.produser }}
</a></li>
<li><a
href=
"{{ trajectory.produser.value.target.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
</span>
→
{% endif %}{{ trajectory.produser }}
</a></li>
{% endfor %}
</ul>
{% endif %}
{% if tag.events %}
<h
2
>
Activities
</h
2
>
<h
3
>
Activities
</h
3
>
<ul
class=
"simplelist"
>
{% for link, _, event in tag.events|link_iterator %}
<li><a
href=
"{{ event.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
→
</span>
{% endif %}{{ event }}
</a></li>
<li><a
href=
"{{ event.link }}#{{ link.id }}"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
</span>
→
{% endif %}{{ event }}
</a></li>
{% endfor %}
</ul>
{% endif %}
{% if tag.bibliography %}
<h
2
>
Bibliography
</h
2
>
<h
3
>
Bibliography
</h
3
>
<ul
class=
"simplelist"
>
{% for link, _, bibliography in tag.bibliography|link_iterator %}
<li>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
→
</span>
{% endif %}{{ bibliography }}
</li>
<li>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
</span>
→
{% endif %}{{ bibliography }}
</li>
{% endfor %}
</ul>
{% endif %}
{% if tag.video %}
<h
2
>
Video
</h
2
>
<h
3
>
Video
</h
3
>
<ul
class=
"simplelist"
>
{% for video in tag.video|link_target_iterator %}
<li>
...
...
@@ -64,7 +64,7 @@
{% endif %}
{% if tag.audio %}
<h
2
>
Audio
</h
2
>
<h
3
>
Audio
</h
3
>
<ul
class=
"simplelist"
>
{% for audio in tag.audio|link_target_iterator %}
<li>
...
...
@@ -76,11 +76,11 @@
</ul>
{% endif %}
{% if tag.notes %}
<h
2
>
Notes
</h
2
>
<h
3
>
Notes
</h
3
>
<ul
class=
"simplelist"
>
{% for link, _, note in tag.notes|link_iterator %}
<li>
<a
href=
"{{ note.link }}#{{ link.id }}"
class=
"note"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
→
</span>
{% endif %}{{ note }}
</a>
<a
href=
"{{ note.link }}#{{ link.id }}"
class=
"note"
>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }}
</span>
→
{% endif %}{{ note }}
</a>
</li>
{% endfor %}
</ul>
...
...
Write
Preview
Supports
Markdown
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