Skip to content
Snippets Groups Projects
Unverified Commit 5d7dfd26 authored by baggids's avatar baggids Committed by GitHub
Browse files

Merge pull request #67 from CDE-UNIBE/feature/redmine_1906_1907_1908

Minor fix for 1908 to show Links and Modules by default
parents 468b95cc 64323c78
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@
<h2>{% trans "Links" %}</h2>
</div>
</div>
<div class="output tech-links-content {% if not modules.items or not links.items %} hide {% endif %}" id="links-content">
<div class="output tech-links-content {% if modules.items or links.items %} {% else %} hide {% endif %}" id="links-content">
{% for configuration, list_values in links.items %}
{% for list_entry in list_values %}
{% include "questionnaire/partial/list_item.html" with item=list_entry %}
......@@ -146,7 +146,7 @@
<h2>{% trans "Modules" %}</h2>
</div>
</div>
<div class="output tech-links-content {% if not modules.items or not links.items %} hide {% endif %}" id="modules-content">
<div class="output tech-links-content {% if modules.items or links.items %} {% else %} hide {% endif %}" id="modules-content">
{% for configuration, list_values in modules.items %}
{% for list_entry in list_values %}
{% include "questionnaire/partial/list_item.html" with item=list_entry %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment