Commit 3ba04ec6 authored by gijs's avatar gijs
Browse files

Tag display detail

parent ca5fa8b5
......@@ -15,43 +15,43 @@
{{ tag.content }}
{% endif %}
{% if tag.produsers %}
<h2>Produsers</h2>
<h3>Produsers</h3>
<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 %}
<h2>Trajectories</h2>
<h3>Trajectories</h3>
<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 %}
<h2>Activities</h2>
<h3>Activities</h3>
<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 %}
<h2>Bibliography</h2>
<h3>Bibliography</h3>
<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 %}
<h2>Video</h2>
<h3>Video</h3>
<ul class="simplelist">
{% for video in tag.video|link_target_iterator %}
<li>
......@@ -64,7 +64,7 @@
{% endif %}
{% if tag.audio %}
<h2>Audio</h2>
<h3>Audio</h3>
<ul class="simplelist">
{% for audio in tag.audio|link_target_iterator %}
<li>
......@@ -76,11 +76,11 @@
</ul>
{% endif %}
{% if tag.notes %}
<h2>Notes</h2>
<h3>Notes</h3>
<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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment