Commit ab7431aa authored by Øyvind gjesdal's avatar Øyvind gjesdal
Browse files

use var for or (strange parens in haanga)

parent f8c8bd1a
Pipeline #48930 passed with stages
in 1 minute and 30 seconds
......@@ -224,20 +224,17 @@
{% if models.events | length > 0 %}
{% set events_enabled = 'true' %}
{% else %}
{% set events_enabled = 'false' %}
{% set coll_events = 'true' %}
{% endif %}
{% if models.collections | length > 0 %}
{% set collections_enabled = 'true' %}
{% else %}
{% set collections_enabled = 'false' %}
{% set coll_events = 'true' %}
{% endif %}
<!-- KNYTTET TIL... -->
{# events_enabled #}
<div class="twelve wide column lightgrey">
{% if events_enabled == 'true' || collections_enabled == 'true' %}
{% if coll_events == 'true' %}
<!-- COLLECTIONS -->
{% if collections_enabled == 'true' %}
<span class="header">Knyttet til følgende samlinger:</span>
......
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