From 316d205593acc179ed9988e1d31be7f3f4a0ac38 Mon Sep 17 00:00:00 2001 From: Yvv Date: Sun, 8 Mar 2026 02:12:10 +0100 Subject: [PATCH] =?UTF-8?q?Card=20Protocoles:=20count=20fixe=20+=20section?= =?UTF-8?q?=20op=C3=A9rationnelle=20toujours=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Home: card Protocoles affiche "2 protocoles" (count fixe) + modalités dynamiques - Protocols: section "Protocoles opérationnels" déplacée hors template conditionnel Co-Authored-By: Claude Opus 4.6 --- frontend/app/pages/index.vue | 6 +- frontend/app/pages/protocols/index.vue | 118 ++++++++++++------------- 2 files changed, 62 insertions(+), 62 deletions(-) diff --git a/frontend/app/pages/index.vue b/frontend/app/pages/index.vue index ae51df4..6c92db8 100644 --- a/frontend/app/pages/index.vue +++ b/frontend/app/pages/index.vue @@ -59,9 +59,9 @@ const entryCards = computed(() => [ title: 'Protocoles et fonctionnement', icon: 'i-lucide-settings', to: '/protocols', - count: protocols.protocols.length, - countLabel: `${protocols.protocols.length} modalité${protocols.protocols.length > 1 ? 's' : ''}`, - totalLabel: 'Boîte à outils de vote + workflows', + count: 2, + countLabel: '2 protocoles', + totalLabel: `${protocols.protocols.length} modalités de vote`, description: 'Modalités de vote, formules, workflows', color: 'var(--mood-tertiary, var(--mood-accent))', }, diff --git a/frontend/app/pages/protocols/index.vue b/frontend/app/pages/protocols/index.vue index 4cccaff..5b13ee8 100644 --- a/frontend/app/pages/protocols/index.vue +++ b/frontend/app/pages/protocols/index.vue @@ -294,65 +294,6 @@ const n8nWorkflows = [ - -
-

- - Protocoles opérationnels - {{ operationalProtocols.length }} -

- -
-
-
- -
-
-

{{ op.name }}

-

{{ op.description }}

- {{ op.instancesLabel }} -
-
- - -
- - - {{ ref.label }} - - -
- - -
-
-
- -
-
- {{ step.label }} - {{ step.actor }} -
-
-
-
-
-
-

@@ -389,6 +330,65 @@ const n8nWorkflows = [

+ +
+

+ + Protocoles opérationnels + {{ operationalProtocols.length }} +

+ +
+
+
+ +
+
+

{{ op.name }}

+

{{ op.description }}

+ {{ op.instancesLabel }} +
+
+ + +
+ + + {{ ref.label }} + + +
+ + +
+
+
+ +
+
+ {{ step.label }} + {{ step.actor }} +
+
+
+
+
+
+