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
ca5fa8b5
Commit
ca5fa8b5
authored
Nov 13, 2019
by
gijs
Browse files
Tag detail
parent
76789bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
generator/templates/tag.html
View file @
ca5fa8b5
...
...
@@ -18,7 +18,7 @@
<h2>
Produsers
</h2>
<ul
class=
"simplelist"
>
{% for link, _, produser in tag.produsers|link_iterator %}
<li><a
href=
"{{ produser.link }}#{{ link.id }}"
>
{% if link.label %}{{ link.label }} → {% 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 %}
...
...
@@ -27,7 +27,7 @@
<h2>
Trajectories
</h2>
<ul
class=
"simplelist"
>
{% for link, _, trajectory in tag.trajectories|link_iterator %}
<li><a
href=
"{{ trajectory.produser.value.target.link }}#{{ link.id }}"
>
{% if link.label %}{{ link.label }} → {% 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 %}
...
...
@@ -36,7 +36,7 @@
<h2>
Activities
</h2>
<ul
class=
"simplelist"
>
{% for link, _, event in tag.events|link_iterator %}
<li><a
href=
"{{ event.link }}#{{ link.id }}"
>
{% if link.label %}{{ link.label }} → {% 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 %}
...
...
@@ -45,7 +45,7 @@
<h2>
Bibliography
</h2>
<ul
class=
"simplelist"
>
{% for link, _, bibliography in tag.bibliography|link_iterator %}
<li>
{% if link.label %}{{ link.label }} → {% endif %}{{ bibliography }}
</li>
<li>
{% if link.label %}
<span
class=
"tag"
>
{{ link.label }} →
</span>
{% endif %}{{ bibliography }}
</li>
{% endfor %}
</ul>
{% endif %}
...
...
@@ -77,10 +77,10 @@
{% endif %}
{% if tag.notes %}
<h2>
Notes
</h2>
<ul>
<ul
class=
"simplelist"
>
{% for link, _, note in tag.notes|link_iterator %}
<li>
<a
href=
"{{ note.link }}#{{ link.id }}"
class=
"note"
>
{% if link.label %}{{ link.label }} → {% 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