Skip to content

Commit

Permalink
Fix button and venue alignment. Remove "free event" text for members …
Browse files Browse the repository at this point in the history
…project (#1935)
  • Loading branch information
vidya-ram authored Nov 30, 2023
1 parent 0fb1096 commit 48ccb8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion funnel/templates/project_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,14 @@
</div>
</form>
</div>
</div>
</div>
{% elif project.features.rsvp %}
<div class="register-block__content">
{%- if current_auth.is_anonymous %}
<a class="mui-btn mui-btn--raised {% if project.features.show_tickets %} mui-btn--dark {%- else %} mui-btn--primary {%- endif %} register-block__btn" id="register-nav" href="{{ url_for('login', next=request.path + '#register-modal', modal='register-modal') }}" rel="modal:open" aria-haspopup="true" data-register-modal="register-modal">{{ project.views.register_button_text() }}</a>
{% elif project.features.rsvp_unregistered -%}
{% if not project.features.follow_mode %}<span class="register-block__content__txt mui--text-light">{% trans %}This is a free event{% endtrans %}</span>{% endif %}
{% if not project.features.follow_mode and not project.features.rsvp_for_members %}<span class="register-block__content__txt mui--text-light">{% trans %}This is a free event{% endtrans %}</span>{% endif %}
<a id="rsvp-btn" class="mui-btn mui-btn--raised mui-btn--dark register-block__btn js-register-btn" href="{{ project.url_for('rsvp_modal') }}" rel="modal:open" role="button" aria-haspopup="true">
<span class="register-block__btn__txt" data-cy="unregistered">{{ project.views.register_button_text() }}</span>
<span class="register-block__btn__txt register-block__btn__txt--smaller primary-color-lighter-txt" data-cy="unregistered">{{ project.views.registration_text() }}</span>
Expand Down

0 comments on commit 48ccb8d

Please sign in to comment.