Skip to content

Commit

Permalink
Remove footer div on mobile when project is not accepting rsvp or whe…
Browse files Browse the repository at this point in the history
…n tickets are closed
  • Loading branch information
anishTP committed Aug 20, 2024
1 parent 409df02 commit 7b4db3e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions funnel/templates/project_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,11 @@
</div>
</div>
{% endif %}
<div class="{% if not project.start_at %}full-width-btn {% endif %}project-footer zero-padding zero-bottom-margin project-footer--main">
{{ registerblock(project) }}
</div>
<div class="mui--hidden-xs mui--hidden-sm">
{{ project_details(project) }}
</div>
{% endif %}
{% if project.features.tickets_or_rsvp %}
<div class="{% if not project.start_at %}full-width-btn {% endif %}project-footer zero-padding zero-bottom-margin project-footer--main"> {{ registerblock(project) }} </div> {% endif %} <div class="mui--hidden-xs mui--hidden-sm">
{{ project_details(project) }}
</div>
{% endif %}
</div>
</div>
{% endmacro %}
Expand Down

0 comments on commit 7b4db3e

Please sign in to comment.