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
711a324e
Commit
711a324e
authored
Dec 16, 2020
by
Øyvind gjesdal
Browse files
debug scope
parent
714cd8ea
Pipeline
#48925
passed with stages
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
types/crm__E22_Man-Made_Object/html.template
View file @
711a324e
...
@@ -222,14 +222,16 @@
...
@@ -222,14 +222,16 @@
{%endif%}
{%endif%}
</div>
</div>
{% set events_enabled = 'test' %}
{% if models.events | length > 0 %}
{% if models.events | length > 0 %}
{
%
set events_enabled = true
%
}
{
#
set events_enabled = true
#
}
{% else %}
{% else %}
{
%
set events_enabled = false
%
}
{
#
set events_enabled = false
#
}
{% endif %}
{% endif %}
{% if models.collections | length > 0 %}
{% if models.collections | length > 0 %}
{% set collections_enabled = true %}
{% set collections_enabled = true %}
{% else %}
{% else %}
{% set events_enabled = 'test2' %}
{% set collections_enabled = false %}
{% set collections_enabled = false %}
{% endif %}
{% endif %}
...
...
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