<div id="sidebar" class="sidebar responsive sidebar-fixed menu-min">
<script type="text/javascript">
try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
</script>
{% block botonesMenu%}
{% endblock%}
<ul class="nav nav-list">
{% for m in menu %}
{% if m.domain is defined %}
{% set domain = m.domain %}
{% else %}
{% set domain = 'messages' %}
{% endif %}
<li class="{%if m.menu_sel is defined %} active open {% endif %}">
<a {% if m.submenu is defined %}class="dropdown-toggle"{% endif %} href="{%if m.ruta %}{{ m.ruta }}{% else %}#{% endif %}" >
<i class="{% if m.icon is defined %}{{ m.icon }}{% else %}fas fa-desktop{% endif %} bigger-180"></i>
<span class="menu-text bigger-110">{{m.key|trans({},domain)}}</span>
{% if m.submenu is defined %}<b class="arrow fas fa-angle-down"></b>{% endif %}
</a>
<b class="arrow"></b>
{% if m.submenu is defined %}
<ul class="submenu" id="{{m.key|replace({'.': '_'})}}">
{% for submenu in m.submenu %}
{% if submenu.domain is defined %}
{% set domain = submenu.domain %}
{% else %}
{% set domain = 'messages' %}
{% endif %}
<li class="{%if submenu.menu_sel is defined %} active open {% endif %}">
{% if submenu.ruta %}
{% set target='' %}
{% if submenu.target is defined %}
{% set target = "target=_blank" %}
{% endif %}
<a {% if submenu.submenu is defined %}class="dropdown-toggle"{% endif %} href="{%if submenu.ruta %}{{ submenu.ruta }}{% else %}#{% endif %}" {{target}}>
{{submenu.key|trans({},domain)}}
{% if submenu.submenu is defined %}<b class="arrow fa fa-angle-down"></b>{% endif %}
</a>
{% else %}
<a {% if submenu.submenu is defined %}class="dropdown-toggle blue"{% endif %} href="{%if submenu.ruta %}{{submenu.ruta }}{% else %}#{% endif %}" >
<i class="menu-icon {% if submenu.icon is defined %}{{ submenu.icon }}{% endif %} bigger-180"></i>
<span class="menu-text bigger-110">{{submenu.key|trans({},domain)}}</span>
{% if submenu.submenu is defined %}<b class="arrow fa fa-angle-down"></b>{% endif %}
</a>
{% endif %}
<b class="arrow"></b>
{% if submenu.submenu is defined %}
<{% if submenu.submenu is defined %}ul class="submenu" id="{{submenu.key|replace({'.': '_'})}}">
{% for submenu2 in submenu.submenu %}
{% if submenu2.domain is defined %}
{% set domain = submenu2.domain %}
{% else %}
{% set domain = 'messages' %}
{% endif %}
<li class="{%if submenu2.menu_sel is defined %} active open {% endif %}">
{%if submenu2.ruta %}
{% set target='' %}
{% if submenu2.target is defined %}
{% set target = "target=_blank" %}
{% endif %}
<a {% if submenu2.submenu is defined %}class="dropdown-toggle"{% endif %} href="{{ submenu2.ruta }}" {{target}}>
{{submenu2.key|trans({},domain)}}
{% if submenu2.submenu is defined %}<b class="arrow fa fa-angle-down"></b>{% endif %}
</a>
{% else %}
<a>{{submenu2.key|trans({},domain)}}</a>
{% endif %}
<b class="arrow"></b>
{% if submenu2.submenu is defined %}
<{% if submenu2.submenu is defined %}ul class="submenu" id="{{submenu.key|replace({'.': '_'})}}">
{% for submenu3 in submenu2.submenu %}
{% if submenu3.domain is defined %}
{% set domain = submenu2.domain %}
{% else %}
{% set domain = 'messages' %}
{% endif %}
<li class="{%if submenu3.menu_sel is defined %} active open {% endif %}">
{% if submenu32.ruta %}
<a href="{{ submenu3.ruta }}">{{submenu3.key|trans({},domain)}}</a>
{% else %}
<a>{{submenu3.key|trans({},domain)}}</a>
{% endif %}
</li>
<b class="arrow"></b>
{% endfor %}
</ul>
{% endif %}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse" style="z-index: 1;">
<i class="ace-icon fa fa-angle-double-right" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
</div>
</div>