From 235f7c8f79ddbbf2c4002f5eaf6f07b42bbaf43b Mon Sep 17 00:00:00 2001 From: pilarvargas-tecnativa Date: Tue, 4 Jun 2024 23:52:30 +0200 Subject: [PATCH] [IMP-FIX] website_event_membership_restriction: Use variable to condition the button classes Use variable to condition the button classes to avoid errors in the views and also adds better readability. --- .../views/event_templates.xml | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/website_event_membership_restriction/views/event_templates.xml b/website_event_membership_restriction/views/event_templates.xml index 0bc58117f..31d0dadf3 100644 --- a/website_event_membership_restriction/views/event_templates.xml +++ b/website_event_membership_restriction/views/event_templates.xml @@ -7,6 +7,7 @@ inherit_id="website_event.registration_template" priority="999" > + + - + Members only + d-none + - + Members only