Skip to content
Snippets Groups Projects
Commit ae2eccfe authored by Tarje Lavik's avatar Tarje Lavik
Browse files

Add pdf and haspart view

parent b02815c9
No related branches found
No related tags found
No related merge requests found
......@@ -279,6 +279,12 @@
</select>
{%endif%}
<!-- PDF -->
{% if models.pdf|length != 0 %}
<hr class="slim">
<p>Last ned <strong><a href="{{first.pdf.uri.value}}">PDF</a></strong></p>
{%endif%}
<!-- PRINT -->
<!--
......@@ -356,6 +362,13 @@
</p>
{% endif %}
<!-- HASPART -->
{% if models.haspart|length != 0 %}
<p class="lead">Inneholder:
{%for row in models.haspart%}{%ifchanged row.uri.value%}<li><a href="{{ row.uri.value }}">{{ row.label.value }}</a>, {{row.pagestart.value}}-{{row.pageend.value}}, {{row.maker.value}}</li>{%endifchanged%}{%endfor%}
</p>
{% endif %}
<!-- RELATIONS -->
{% if models.relation|length != 0 %}
<p class="lead">Relatert til:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment