Skip to content

Commit

Permalink
Don't show an empty registration box (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
anishTP authored Sep 2, 2024
1 parent 77c8a43 commit 6289437
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 6289437

Please sign in to comment.