From 48ccb8d5b0b6c0206f7fe63005a500678a494c93 Mon Sep 17 00:00:00 2001 From: Vidya Ramakrishnan Date: Thu, 30 Nov 2023 13:15:03 +0530 Subject: [PATCH] Fix button and venue alignment. Remove "free event" text for members project (#1935) --- funnel/templates/project_layout.html.jinja2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2 index 645e2b054..3c7aedaec 100644 --- a/funnel/templates/project_layout.html.jinja2 +++ b/funnel/templates/project_layout.html.jinja2 @@ -160,13 +160,14 @@ + {% elif project.features.rsvp %}
{%- if current_auth.is_anonymous %} {{ project.views.register_button_text() }} {% elif project.features.rsvp_unregistered -%} - {% if not project.features.follow_mode %}{% trans %}This is a free event{% endtrans %}{% endif %} + {% if not project.features.follow_mode and not project.features.rsvp_for_members %}{% trans %}This is a free event{% endtrans %}{% endif %} {{ project.views.register_button_text() }} {{ project.views.registration_text() }}