67 lines
1.7 KiB
Twig
67 lines
1.7 KiB
Twig
<div id="sidebar" class="collapse">
|
|
<ul class="nav">
|
|
{% if is_granted('ROLE_ADMIN') %}
|
|
<br>
|
|
<li class="title last">Administration</li>
|
|
|
|
<li>
|
|
<a href="{{path("app_admin_config")}}">
|
|
<i class="fa fa-cog fa-fw"></i> Configurations
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{path("app_user")}}">
|
|
<i class="fa fa-user fa-fw"></i> Utilisateurs
|
|
</a>
|
|
</li>
|
|
|
|
<li class="last">
|
|
<a href="{{path("app_group")}}">
|
|
<i class="fa fa-users fa-fw"></i> Groupes
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{path("app_admin_category",{"by":"admin","userid":-1})}}">
|
|
<i class="fa fa-folder fa-fw"></i> Catégories Illustrations
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{path("app_admin_illustration",{"by":"admin","userid":-1})}}">
|
|
<i class="fas fa-image fa-fw"></i> Illustrations
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="{{path("app_admin_webzine",{"by":"admin","userid":-1})}}">
|
|
<i class="fas fa-book-open fa-fw"></i> Webzine
|
|
</a>
|
|
</li>
|
|
|
|
<li class="last">
|
|
<a href="{{path("app_link")}}">
|
|
<i class="fas fa-link fa-fw"></i> Liens
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
{% if appCron %}
|
|
<li>
|
|
<a href="{{path("app_cron")}}">
|
|
<i class="fa fa-cogs fa-fw"></i> Jobs
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
<li class="last">
|
|
<a href="{{path("app_cron_log")}}">
|
|
<i class="fa fa-list-alt fa-fw"></i> Logs / Dump
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|