From 0015f431ee7fc319b70ae92a4b8f06b68ad5878a Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 26 May 2024 21:07:48 +0100 Subject: fix event and event group edit buttons --- public/css/style.css | 3 ++- views/event.handlebars | 2 +- views/eventgroup.handlebars | 16 +++++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 9a81967..3321090 100755 --- a/public/css/style.css +++ b/public/css/style.css @@ -441,7 +441,8 @@ ul#sidebar__nav a { flex-wrap: wrap; } -#event__actions #editEvent { +#event__actions #editEvent, +#event__actions #editGroup { width: 100%; margin-top: 16px; } diff --git a/views/event.handlebars b/views/event.handlebars index cd1645a..1b1022e 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -11,7 +11,7 @@
{{#if editingEnabled}} - + {{/if}}
diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars index 8fbedbc..9658b60 100755 --- a/views/eventgroup.handlebars +++ b/views/eventgroup.handlebars @@ -10,9 +10,7 @@
{{#if editingEnabled}} - - {{else}} - + {{/if}}
@@ -85,6 +83,10 @@ Export as ICS + + {{#unless editingEnabled}} + + {{/unless}} @@ -103,12 +105,12 @@ - + {{/if}}
-
About
+
About
{{{parsedDescription}}}
@@ -268,7 +270,7 @@ window.groupData = {{{ json jsonData }}}; if (urlParams.has('show_edit')) { $('#editModal').modal('show'); - url.searchParams.delete('show_edit'); + url.searchParams.delete('show_edit'); history.replaceState(history.state, '', url.href); } @@ -339,4 +341,4 @@ window.groupData = {{{ json jsonData }}}; }); - \ No newline at end of file + -- cgit v1.2.3