From eb04926d31a3d96fda0e6ea279ad1c49098be0e5 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 15 Oct 2025 11:35:55 +0200 Subject: [PATCH] css index of section --- assets/styles/app.css | 4 ++++ templates/section/index.html.twig | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) 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 %}