ninefolio/templates/Include/sidebar.html.twig

67 lines
1.7 KiB
Twig
Raw Normal View History

2024-09-17 14:02:17 +02:00
<div id="sidebar" class="collapse">
<ul class="nav">
{% if is_granted('ROLE_ADMIN') %}
<br>
2024-10-29 16:54:40 +01:00
<li class="title last">Administration</li>
2024-09-17 14:02:17 +02:00
<li>
2024-10-30 17:58:39 +01:00
<a href="{{path("app_admin_config")}}">
2024-10-29 16:54:40 +01:00
<i class="fa fa-cog fa-fw"></i> Configurations
2024-09-17 14:02:17 +02:00
</a>
</li>
<li>
2024-10-29 16:54:40 +01:00
<a href="{{path("app_user")}}">
<i class="fa fa-user fa-fw"></i> Utilisateurs
2024-09-17 14:02:17 +02:00
</a>
</li>
2024-10-29 16:54:40 +01:00
<li class="last">
<a href="{{path("app_group")}}">
<i class="fa fa-users fa-fw"></i> Groupes
2024-09-17 14:02:17 +02:00
</a>
</li>
<li>
2024-10-30 17:58:39 +01:00
<a href="{{path("app_admin_illustration",{"by":"admin","userid":-1})}}">
2024-10-29 16:54:40 +01:00
<i class="fas fa-image fa-fw"></i> Illustrations
2024-09-17 14:02:17 +02:00
</a>
</li>
<li>
2024-10-29 16:54:40 +01:00
<a href="{{path("app_category")}}">
<i class="fa fa-folder fa-fw"></i> Catégories Illustrations
2024-09-17 14:02:17 +02:00
</a>
</li>
<li>
2024-10-30 17:58:39 +01:00
<a href="{{path("app_webzine",{"by":"admin"})}}">
2024-10-29 16:54:40 +01:00
<i class="fas fa-book-open fa-fw"></i> Webzine
2024-09-17 14:02:17 +02:00
</a>
</li>
2024-10-29 16:54:40 +01:00
<li class="last">
<a href="{{path("app_link")}}">
<i class="fas fa-link fa-fw"></i> Liens
2024-09-17 14:02:17 +02:00
</a>
</li>
2024-10-29 16:54:40 +01:00
2024-09-17 14:02:17 +02:00
{% if appCron %}
<li>
<a href="{{path("app_cron")}}">
2024-10-29 16:54:40 +01:00
<i class="fa fa-cogs fa-fw"></i> Jobs
2024-09-17 14:02:17 +02:00
</a>
</li>
{% endif %}
<li class="last">
<a href="{{path("app_cron_log")}}">
2024-10-29 16:54:40 +01:00
<i class="fa fa-list-alt fa-fw"></i> Logs / Dump
2024-09-17 14:02:17 +02:00
</a>
</li>
{% endif %}
</ul>
</div>