<div id="navbar" class="navbar navbar-default navbar-fixed-top" >
<script type="text/javascript">
try {
ace.settings.check('navbar', 'fixed')
} catch (e) {
}
</script>
<div class="navbar-container" id="navbar-container">
<button type="button" data-target="#sidebar" aria-expanded="true" class="navbar-toggle menu-toggler pull-left fixed">
<span class="sr-only">Toggle sidebar</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-header pull-left">
<!-- #section:basics/navbar.layout.brand -->
<div class="navbar-brand">
<picture>
<a href="{{ path('app_home') }}"><img src="{{ asset('images/logo_plataforma.png') }}" height='55px'></a>
</picture>
</div>
<!-- /section:basics/navbar.layout.brand -->
</div>
<!-- #section:basics/navbar.dropdown -->
<div class="navbar-buttons navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="yellow">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="fas fa-bell icon-animated-bell"></i>
<span class="badge badge-important">{{ total }}</span>
</a>
<ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
<li class="dropdown-header">
<i class="fas fa-bell"></i>
{{ titulo }}
</li>
{% if total>0 %}
<li class="dropdown-content">
<ul class="dropdown-menu dropdown-navbar navbar-pink">
{% for asunto,notis in notificaciones %}
<li>
<a href="{{ path('notificacion_por_asunto', {'routeClassName': 'notificaciones', 'asunto': asunto}) }}">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-xs no-hover btn-pink fas fa-comment"></i>
{{ asunto }}
</span>
<span class="pull-right badge badge-info">{{ notis | length }}</span>
</div>
</a>
</li>
{% endfor %}
</ul>
</li>
{% endif %}
<li class="dropdown-footer">
<a href="{{ path('crud_clean_filter', {'rol': 'all', 'routeClassName': 'notificaciones'}) }}">
Ver todas...
<i class="fas fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<!-- #section:basics/navbar.user_menu -->
<li class="light-blue">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<img class="nav-user-photo" src="{{ asset('avatars/user.png') }}" alt="Usuario" />
<span class="user-info">
{% if app.user %}
{{ app.user.getNombreCompleto }}
{% endif %}
</span>
<i class="fas fa-caret-down"></i>
</a>
<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
<li>
<a href="{{ path('usuario_perfil') }}">
<i class="fas fa-user"></i>
{% trans from 'crud' %}usuarioperfil.plural{% endtrans %}
</a>
</li>
<li class="divider"></li>
<li>
<a href="{{path('before_logout')}}">
<i class="fas fa-power-off"></i>
Salir
</a>
</li>
</ul>
</li>
{#
<li class="light-blue">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
{% if app.request.locale=='es' %}
<img src="{{ asset('images/spanish.png') }}">
{% else %}
<img src="{{ asset('images/english.png') }}">
{% endif %}
<i class="fas fa-caret-down"></i>
</a>
<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-caret dropdown-close">
<li>
<a href="{{ path('change_locale', {'newlocale': 'es'}) }}">
<img src="{{ asset('images/spanish.png') }}"> Español/Spanish
</a>
</li>
<li class="divider"></li>
<li>
<a href="{{ path('change_locale', {'newlocale': 'en'}) }}">
<img src="{{ asset('images/english.png') }}"> Inglés/English
</a>
</li>
</ul>
</li>
#}
<!-- /section:basics/navbar.user_menu -->
</ul>
</div>
<!-- /section:basics/navbar.dropdown -->
</div><!-- /.navbar-container -->
</div>