From f1df7ae1b52751e14fef31b6d36a34b08e61092d Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 29 May 2026 13:55:19 +0200 Subject: [PATCH] =?UTF-8?q?feat(admin):=20bouton=20=C3=89diter=20sur=20la?= =?UTF-8?q?=20fiche=20projet=20(mode=20admin)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La fiche projet publique /projects/:slug avait déjà des actions inline en mode admin (Supprimer, ajouter étape, ajouter ressource, etc.), mais pas de raccourci pour basculer vers le form d'édition complet où on peut changer titre, slug, catégorie, status, descriptions, progression. Ajout d'un bouton "Éditer" à côté de "Supprimer" en haut à droite (admin only) qui pointe vers /admin/projects/:slug/edit. Style outline blanc pour ne pas concurrencer visuellement le rouge de Supprimer. Cohérent avec les autres tableaux admin où le clic sur le titre ouvre maintenant l'édition. Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/pages/ProjectDetailPage.vue | 33 ++++++++++++++++-------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/frontend/src/pages/ProjectDetailPage.vue b/frontend/src/pages/ProjectDetailPage.vue index 25cd879..019e37d 100644 --- a/frontend/src/pages/ProjectDetailPage.vue +++ b/frontend/src/pages/ProjectDetailPage.vue @@ -270,17 +270,28 @@ const ROLE_LABEL = { admin: 'Admin', contributor: 'Contributor', observer: 'Obse :color-hex="project.category.color_hex" /> - + +
+ + + + + Éditer + + +