Skip to content

Commit

Permalink
Remove register button eyebrow text when venue is not assigned to a p…
Browse files Browse the repository at this point in the history
…roject (#2149)
  • Loading branch information
anishTP authored Feb 21, 2025
1 parent 0abd231 commit edf849d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funnel/templates/project_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
{%- 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 and not project.features.rsvp_for_members %}<span class="register-block__content__txt mui--text-light">{% trans %}In-person access (free){% endtrans %}</span>{% endif %}
{% if not project.features.follow_mode and not project.features.rsvp_for_members and project.primary_venue %}<span class="register-block__content__txt mui--text-light">{% trans %}In-person access (free){% 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 edf849d

Please sign in to comment.