From c601c843c60b498d8c47cee80e95f07868f5cd26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Wed, 13 Dec 2023 14:10:28 +0100 Subject: [PATCH] refactor: split every modal template in its own file --- web/b3desk/templates/meeting/card.html | 4 +- web/b3desk/templates/meeting/list.html | 4 +- web/b3desk/templates/meeting/modals.html | 124 ------------------ .../templates/meeting/modals/delete.html | 18 +++ .../templates/meeting/modals/invite.html | 52 ++++++++ .../templates/meeting/modals/recordings.html | 54 ++++++++ 6 files changed, 130 insertions(+), 126 deletions(-) delete mode 100644 web/b3desk/templates/meeting/modals.html create mode 100644 web/b3desk/templates/meeting/modals/delete.html create mode 100644 web/b3desk/templates/meeting/modals/invite.html create mode 100644 web/b3desk/templates/meeting/modals/recordings.html diff --git a/web/b3desk/templates/meeting/card.html b/web/b3desk/templates/meeting/card.html index fee73950..b39e8966 100644 --- a/web/b3desk/templates/meeting/card.html +++ b/web/b3desk/templates/meeting/card.html @@ -4,4 +4,6 @@

{{ meeting.name }}

{% include 'meeting/row.html' %} -{% include 'meeting/modals.html' %} +{% include 'meeting/modals/delete.html' %} +{% include 'meeting/modals/invite.html' %} +{% include 'meeting/modals/recordings.html' %} diff --git a/web/b3desk/templates/meeting/list.html b/web/b3desk/templates/meeting/list.html index af9d0c0d..1c4a1227 100644 --- a/web/b3desk/templates/meeting/list.html +++ b/web/b3desk/templates/meeting/list.html @@ -18,7 +18,9 @@

{{ meeting.name }}

{% include 'meeting/row.html' %} - {% include 'meeting/modals.html' %} + {% include 'meeting/modals/delete.html' %} + {% include 'meeting/modals/invite.html' %} + {% include 'meeting/modals/recordings.html' %} {% endfor %} {% if meetings|length and config.get("SATISFACTION_POLL_URL") %}