dockerisation app
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -126,31 +126,38 @@
|
||||
{% set sectionactive=true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% set toshow=true %}
|
||||
{% if section.name == "PORTAIL" and not ("PORTAL" in appModules) %}
|
||||
{% set toshow=false %}
|
||||
{% endif %}
|
||||
|
||||
<div class="nav-link-section">
|
||||
<a class="nav-link nav-link-title" onClick="$('#sidebar .nav-link-items').hide();$(this).next().toggle();">
|
||||
<i class="{{section.icon}}"></i>
|
||||
<span>{{section.name}}</span>
|
||||
</a>
|
||||
<div class="nav-link-items" style="{% if sectionactive %}display:block{%else%}display:none{%endif%}">
|
||||
{% for item in section.items %}
|
||||
{% set toshow=true %}
|
||||
{% if item.route=="app_admin_registration" and (appMasteridentity!="SQL" or appModeregistration is empty) %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_whitelist" and (appMasteridentity!="SQL" or appModeregistration is empty) %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau02" and not appNiveau02use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau03" and not appNiveau03use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau04" and not appNiveau04use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_group" and not appGroupuse %} {% set toshow=false %} {% endif %}
|
||||
|
||||
{%if toshow %}
|
||||
<a class="nav-link nav-link-item {% if item.route in app.request.get('_route') %}active{%endif%}" href="{{path(item.route)}}" title="{{item.name}}">
|
||||
<i class="{{item.icon}} fa-fw"></i>
|
||||
<span>{{item.name}}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if toshow %}
|
||||
<div class="nav-link-section">
|
||||
<a class="nav-link nav-link-title" onClick="$('#sidebar .nav-link-items').hide();$(this).next().toggle();">
|
||||
<i class="{{section.icon}}"></i>
|
||||
<span>{{section.name}}</span>
|
||||
</a>
|
||||
<div class="nav-link-items" style="{% if sectionactive %}display:block{%else%}display:none{%endif%}">
|
||||
{% for item in section.items %}
|
||||
{% set toshow=true %}
|
||||
{% if item.route=="app_admin_registration" and (appMasteridentity!="SQL" or appModeregistration is empty) %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_whitelist" and (appMasteridentity!="SQL" or appModeregistration is empty) %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau02" and not appNiveau02use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau03" and not appNiveau03use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_niveau04" and not appNiveau04use %} {% set toshow=false %} {% endif %}
|
||||
{% if item.route=="app_admin_group" and not appGroupuse %} {% set toshow=false %} {% endif %}
|
||||
|
||||
{%if toshow %}
|
||||
<a class="nav-link nav-link-item {% if item.route in app.request.get('_route') %}active{%endif%}" href="{{path(item.route)}}" title="{{item.name}}">
|
||||
<i class="{{item.icon}} fa-fw"></i>
|
||||
<span>{{item.name}}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Reference in New Issue
Block a user