Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Spesialsamlingene
admin components
Commits
ab7431aa
Commit
ab7431aa
authored
Dec 16, 2020
by
Ø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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
types/crm__E22_Man-Made_Object/html.template
View file @
ab7431aa
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
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