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

Deleted unnecessary queries and some clean up after summer vacation

parent de623340
No related branches found
No related tags found
No related merge requests found
......@@ -45,4 +45,5 @@
</div>
</div>
\ No newline at end of file
</div>
......@@ -213,8 +213,7 @@
<div class="row">
<div style="width: 80%; margin: auto; margin-bottom: 70px; margin-top: 30px;">
<!-- <div class="alert alert-warning"><p><i class="fa fa-warning"></i> Siste frist for bestilling av bilder fra Billedsamlingen før sommeren er 19. juni.</p></div>
-->
<!-- <div class="alert alert-warning"><p><i class="fa fa-warning"></i> Siste frist for bestilling av bilder fra Billedsamlingen før sommeren er 2. juli.</p></div>-->
<!--<div class="alert alert-danger" role="alert"><strong>Søket er utilgjengelig.</strong> Marcus har tekniske problemer og vi jobber med å fikse de. Søket er forhåpentligvis snart tilbake!</div>-->
<form style="width: 100%; margin: auto; border-bottom: 1px dotted #666" role="search" method="get" action="/search">
......
......@@ -518,7 +518,11 @@
<li><i>{{ first.physical.physicalCondition.value }}</i></li>
{% endif %}
{% if first.physical.physicalDescription.value != null %}
<li>{{ first.physical.physicalDescription.value }}</li>
{% for row in models.physical %}
{% ifchanged row.physicalDescription.value %}
<li>{{ row.physicalDescription.value }}</li>
{% endifchanged %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
......@@ -558,4 +562,4 @@
<!-- END MAIN-BODY/CONTAINER -->
</body>
</html>
\ No newline at end of file
</html>
......@@ -339,7 +339,7 @@
{%endif%}
</div>
<div class="col-md-8 col-md-pull-4">
......@@ -540,9 +540,14 @@
{% if first.physical.physicalCondition.value != null %}
<li><i>{{ first.physical.physicalCondition.value }}</i></li>
{% endif %}
{% if first.physical.physicalDescription.value != null %}
<li>{{ first.physical.physicalDescription.value }}</li>
{% endif %}
{% if first.physical.physicalDescription.value != null %}
{% for row in models.physical %}
{% ifchanged row.physicalDescription.value %}
<li>{{ row.physicalDescription.value }}</li>
{% endifchanged %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
......
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