From 7b4db3e2400bafb101ddea1f79ffa54e190aae59 Mon Sep 17 00:00:00 2001 From: anishTP Date: Tue, 20 Aug 2024 16:41:39 +0530 Subject: [PATCH] Remove footer div on mobile when project is not accepting rsvp or when tickets are closed --- funnel/templates/project_layout.html.jinja2 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2 index e483fdb16..22fa17105 100644 --- a/funnel/templates/project_layout.html.jinja2 +++ b/funnel/templates/project_layout.html.jinja2 @@ -125,13 +125,11 @@ {% endif %} - -
- {{ project_details(project) }} -
- {% endif %} + {% if project.features.tickets_or_rsvp %} + {% endif %}
+ {{ project_details(project) }} +
+ {% endif %} {% endmacro %}