{# Names the group discount on the checkout page, which core renders as a bare total with no breakdown and no template hook. This is not a fork. Indico's customization loader resolves a leading `~` to the *original* template, so this file inherits everything core does and only prepends a box. If core rewrites the page, we inherit the rewrite. #} {% extends '~events/payment/event_checkout.html' %} {% block content %} {% set membership = registration.group_membership %} {% if membership and membership.applied_amount %} {% set group = membership.group %} {% set plan = group.pricing_plan %}
{% endif %} {{ super() }} {% endblock %}