{#- `settings` is passed in rather than read off the form here: the lookup has to go through `indico_stsa.util.get_settings`, which is what keeps this row working on an install whose tables were never created. -#} {% macro render_settings_row(regform, settings, group_plugin) %}
{% trans %}STSA{% endtrans %}

{% if settings and settings.member_discount_enabled %} {% trans %}Participants who register while signed in get the STSA member discount.{% endtrans %} {% else %} {% trans %}The member discount is switched off on this form.{% endtrans %} {% endif %} {% if group_plugin and settings and settings.group_login_required %} {% trans %}Group registration is restricted to signed-in STSA members.{% endtrans %} {% endif %}

{% trans %}Configure STSA settings{% endtrans %}
{% endmacro %}