Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <nav class="main-header navbar navbar-expand navbar-white navbar-light">
- <!-- Left navbar links -->
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
- </li>
- </ul>
-
- <ul class="navbar-nav ml-auto">
- <li class="nav-item">
- {% block user_menu %}
- <div class="btn-group">
- <button class="btn btn-block dropdown-toggle" data-toggle="dropdown"
- data-placement="bottom">
- <i class="fa fa-user-alt"></i>
- <span class="user-name">{{ ea.user is null ? 'user.anonymous'|trans(domain = 'EasyAdminBundle') : ea.userMenu.name }}</span>
- {# <br /><small>
- {% if is_granted('ROLE_SUPER_ADMIN') %}
- <span class="mt-1 small text-muted">Superadmin</span>
- {% elseif is_granted('ROLE_ADMIN') %}
- <span class="mt-1 small text-muted">Admin</span>
- {% else %}
- <span class="mt-1 small text-muted">NC</span>
- {% endif %}
- </small> #}
- </button>
- {% if ea.userMenu.items|length > 0 %}
- <div class="dropdown-menu">
- {% for item in ea.userMenu.items %}
- {% if item.isMenuSection %}
- <div class="dropdown-divider"></div>
- {% else %}
- <a href="{{ item.linkUrl }}"
- class="dropdown-item {{ item.cssClass }}"
- target="{{ item.linkTarget }}" rel="{{ item.linkRel }}"
- referrerpolicy="origin-when-cross-origin">
- {% if item.icon is not empty %}
- <i class="ta ta-{{ item.icon }}"></i>
- {% endif %}
- <span>{{ item.label }}</span>
- </a>
- {% endif %}
- {% endfor %}
- </div>
- {% endif %}
- </div>
- {% endblock user_menu %}
- </li>
- <!-- Messages Dropdown Menu -->
- <li class="nav-item">
- <a href="{{ path(homepage_route()) }}" class="btn btn-block btn-outline-success" target="_blank"
- rel="noreferrer">
- Afficher le site
- </a>
- </li>
- </ul>
- </nav>
|