diff --git a/assets/styles/app.css b/assets/styles/app.css index f083293..7099f06 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -157,4 +157,8 @@ article { text-decoration: underline; font-size: larger; } +} + +h1 a { + text-decoration: none; } \ No newline at end of file diff --git a/templates/section/index.html.twig b/templates/section/index.html.twig index 59ccf5b..cd38575 100644 --- a/templates/section/index.html.twig +++ b/templates/section/index.html.twig @@ -3,14 +3,16 @@ {% block title %}Section index{% endblock %} {% block main %} -

Leçons

+
- {% if app.user and 'ROLE_ADMIN' in app.user.roles %} - Ajouter une nouvelle section - {% endif %} - {% endblock %}