From edf849d685fc8945f0a47b406e6fc1e4a7c3d256 Mon Sep 17 00:00:00 2001
From: anishTP <119032387+anishTP@users.noreply.github.com>
Date: Fri, 21 Feb 2025 19:15:36 +0530
Subject: [PATCH] Remove register button eyebrow text when venue is not
assigned to a project (#2149)
---
funnel/templates/project_layout.html.jinja2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2
index 543e6e44f..e45f9f7b6 100644
--- a/funnel/templates/project_layout.html.jinja2
+++ b/funnel/templates/project_layout.html.jinja2
@@ -181,7 +181,7 @@
{%- if current_auth.is_anonymous %}
{{ project.views.register_button_text() }}
{% elif project.features.rsvp_unregistered -%}
- {% if not project.features.follow_mode and not project.features.rsvp_for_members %}{% trans %}In-person access (free){% endtrans %}{% endif %}
+ {% if not project.features.follow_mode and not project.features.rsvp_for_members and project.primary_venue %}{% trans %}In-person access (free){% endtrans %}{% endif %}
{{ project.views.register_button_text() }}
{{ project.views.registration_text() }}