Commit 83d4cb9a authored by Øyvind gjesdal's avatar Øyvind gjesdal
Browse files

fortsettelse gjennomgang

parent 41c23783
Pipeline #48917 passed with stages
in 1 minute and 27 seconds
......@@ -175,7 +175,7 @@
{% endif %}
<!-- COMMISSIONED BY -->
{% if not models.commissionedby| null %}
{% if models.commissionedby| length > 0 %}
<strong>Oppdragsgiver:</strong>
<ul class="ui list">
{% for row in models.commissionedby %}
......@@ -186,7 +186,7 @@
<!-- ALBUM -->
{% if not models.albums| null %}
{% if models.albums| length > 0 %}
<p><i class="fa fa-book"></i> Finnes i albumet<br>
<a href="{{ first.albums.uri.value }}">{% if first.albums.label.value %}{{ first.albums.label.value }}{% else %}{{ first.albums.identifier.value }}{% endif %}</a>
</p>
......@@ -202,7 +202,7 @@
<p>Utgitt av: <br><a href="{{row.uri.value}}">{{row.label.value}}</a> {% if first.main.isbn %}<br><small>ISBN: {{first.main.isbn.value}}</small>{% endif %}</p>
{% endfor %}
{% if not models.referencedby|null %}
{% if models.referencedby|length > 0 %}
<!-- REFERENCED BY -->
<p>Referanse:</p>
<ul>
......@@ -215,7 +215,7 @@
{% endif %}
<!-- EIER-->
{% if not models.owner|length | null %}
{% if models.owner|length > 0 %}
<p>
<i class="fa fa-archive"></i> Eier: {%for row in models.owner%}{%if !forloop.last%}, {%endif%}<a href="{{row.uri.value}}">{{row.label.value}}</a>{%endfor%}
</p>
......@@ -224,15 +224,15 @@
<!-- KNYTTET TIL... -->
<div class="twelve wide column lightgrey">
{% if not models.events| null || not models.collections | null %}
{% if (models.events| length > 0) || models.collection | length > 0 %}
<!-- COLLECTIONS -->
{% if not models.collections|length | null %}
{% if models.collections|length > 0 %}
<span class="header">Knyttet til følgende samlinger:</span>
{% include "../../includes/collections.inc" %}
<br />
{% endif %}
<!-- EVENTS -->
{% if not models.events| null %}
{% if models.events| length > 0 %}
<span class="header">Knyttet til følgende hendelser:</span>
{%include "../../includes/events.inc"%}
<br />
......@@ -242,7 +242,7 @@
<div class="sixteen wide column">
<!-- DEPICTED -->
{% if not models.depicted| null %}
{% if models.depicted| length > 0 %}
<div class="row">
<div class="column">
{%include "../../includes/depicted.inc"%}
......@@ -251,7 +251,7 @@
{% endif %}
<!-- VERSIONS -->
{% if not models.hasversion|length | null %}
{% if models.hasversion|length > 0 %}
<div class="row">
<div class="column">
<span class="header">Versjoner</span>
......@@ -272,7 +272,7 @@
{% endif %}
<!-- RELATION -->
{% if not models.relation| null %}
{% if models.relation| length > 0 %}
<div class="row">
<div class="column">
<span class="header">Relaterte objekt</span>
......@@ -294,7 +294,7 @@
{% endif %}
<!-- HASPART -->
{% if not models.haspart| null %}
{% if models.haspart| length > 0 %}
<div class="row">
<div class="column">
<span class="header">Inneholder deler:</span>
......@@ -318,7 +318,7 @@
<!-- PLACES/MAP -->
<div class="row">
<div style="width: 100%;" class="column">
{% if not models.places| null %}
{% if models.places| length > 0 %}
{% include "../../includes/place.inc" %}
{% endif %}
</div>
......
Markdown is supported
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