diff --git a/funnel/assets/sass/components/_ticket-modal.scss b/funnel/assets/sass/components/_ticket-modal.scss index 6da18efba..610772eb1 100644 --- a/funnel/assets/sass/components/_ticket-modal.scss +++ b/funnel/assets/sass/components/_ticket-modal.scss @@ -68,7 +68,7 @@ } .price-btn { - min-width: 200px; + min-width: 150px; font-size: inherit; padding: 0; display: flex; diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2 index a47cbb691..b71eacbc3 100644 --- a/funnel/templates/project_layout.html.jinja2 +++ b/funnel/templates/project_layout.html.jinja2 @@ -140,7 +140,28 @@ {% macro registerblock(project) %}
- {% if project.features.rsvp() %} + {%- if project.features.rsvp_registered() %} + + + {% if project.features.follow_mode() %}{% trans %}Following{% endtrans %}{% else %}{% trans %}Registered{% endtrans %}{% endif %}{{ faicon(icon='check-circle-solid', icon_size='caption', baseline=true, css_class="mui--text-success fa-icon--left-margin") }} + {% if project.features.follow_mode() %}{% trans %}Unfollow{% endtrans %}{% else %}{% trans %}Cancel Registration{% endtrans %}{% endif %} + {{ project.views.registration_text() }} + + + {% elif project.features.rsvp() %} {%- if current_auth.is_anonymous %} {{ project.views.register_button_text() }} {% elif project.features.rsvp_unregistered() -%} @@ -149,34 +170,13 @@ {{ project.views.register_button_text() }} {{ project.views.registration_text() }} - {%- elif project.features.rsvp_registered() %} - - - {% if project.features.follow_mode() %}{% trans %}Following{% endtrans %}{% else %}{% trans %}Registered{% endtrans %}{% endif %}{{ faicon(icon='check-circle-solid', icon_size='caption', baseline=true, css_class="mui--text-success fa-icon--left-margin") }} - {% if project.features.follow_mode() %}{% trans %}Unfollow{% endtrans %}{% else %}{% trans %}Cancel Registration{% endtrans %}{% endif %} - {{ project.views.registration_text() }} - - {%- endif %} {% elif project.buy_tickets_url.url -%} {{ faicon(icon='arrow-up-right-from-square', baseline=true, css_class="mui--text-white fa-icon--right-margin") }}{{ project.views.register_button_text() }} {% endif %}
{% if project.current_roles.ticket_participant %} -
+
{% elif project.features.show_tickets %}