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

Tag display detail

parent ca5fa8b5
...@@ -15,43 +15,43 @@ ...@@ -15,43 +15,43 @@
{{ tag.content }} {{ tag.content }}
{% endif %} {% endif %}
{% if tag.produsers %} {% if tag.produsers %}
<h2>Produsers</h2> <h3>Produsers</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for link, _, produser in tag.produsers|link_iterator %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if tag.trajectories %} {% if tag.trajectories %}
<h2>Trajectories</h2> <h3>Trajectories</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for link, _, trajectory in tag.trajectories|link_iterator %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if tag.events %} {% if tag.events %}
<h2>Activities</h2> <h3>Activities</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for link, _, event in tag.events|link_iterator %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if tag.bibliography %} {% if tag.bibliography %}
<h2>Bibliography</h2> <h3>Bibliography</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for link, _, bibliography in tag.bibliography|link_iterator %} {% 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 %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
{% if tag.video %} {% if tag.video %}
<h2>Video</h2> <h3>Video</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for video in tag.video|link_target_iterator %} {% for video in tag.video|link_target_iterator %}
<li> <li>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
{% endif %} {% endif %}
{% if tag.audio %} {% if tag.audio %}
<h2>Audio</h2> <h3>Audio</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for audio in tag.audio|link_target_iterator %} {% for audio in tag.audio|link_target_iterator %}
<li> <li>
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
</ul> </ul>
{% endif %} {% endif %}
{% if tag.notes %} {% if tag.notes %}
<h2>Notes</h2> <h3>Notes</h3>
<ul class="simplelist"> <ul class="simplelist">
{% for link, _, note in tag.notes|link_iterator %} {% for link, _, note in tag.notes|link_iterator %}
<li> <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> </li>
{% endfor %} {% endfor %}
</ul> </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