From 7dbdb824aff23473fe26969825845499c2fc6c95 Mon Sep 17 00:00:00 2001
From: Jean-Marie Favreau
Date: Sat, 4 Nov 2023 16:44:03 +0100
Subject: [PATCH] ajout d'un moyen de voir les tags
---
.../templates/agenda_culturel/event.html | 2 +-
.../agenda_culturel/page-events.html | 2 +-
.../templates/agenda_culturel/page.html | 1 +
.../templates/agenda_culturel/tag.html | 41 +++++++++++++++++++
.../templates/agenda_culturel/tags.html | 18 ++++++++
src/agenda_culturel/urls.py | 2 +
src/agenda_culturel/views.py | 20 +++++++++
7 files changed, 84 insertions(+), 2 deletions(-)
create mode 100644 src/agenda_culturel/templates/agenda_culturel/tag.html
create mode 100644 src/agenda_culturel/templates/agenda_culturel/tags.html
diff --git a/src/agenda_culturel/templates/agenda_culturel/event.html b/src/agenda_culturel/templates/agenda_culturel/event.html
index a1011a1..9f4b747 100644
--- a/src/agenda_culturel/templates/agenda_culturel/event.html
+++ b/src/agenda_culturel/templates/agenda_culturel/event.html
@@ -28,7 +28,7 @@
{{ event.category | small_cat }}
{% for tag in event.tags %}
- {{ tag }}
+ {{ tag }}
{% endfor %}
diff --git a/src/agenda_culturel/templates/agenda_culturel/page-events.html b/src/agenda_culturel/templates/agenda_culturel/page-events.html
index 705a9d8..24eccfe 100644
--- a/src/agenda_culturel/templates/agenda_culturel/page-events.html
+++ b/src/agenda_culturel/templates/agenda_culturel/page-events.html
@@ -96,7 +96,7 @@
{% endif %}
{% for tag in event.tags %}
- {{ tag }}
+ {{ tag }}
{% endfor %}
diff --git a/src/agenda_culturel/templates/agenda_culturel/page.html b/src/agenda_culturel/templates/agenda_culturel/page.html
index 10a8f85..0f077fe 100644
--- a/src/agenda_culturel/templates/agenda_culturel/page.html
+++ b/src/agenda_culturel/templates/agenda_culturel/page.html
@@ -57,6 +57,7 @@