{% macro render_group_panel(membership, group, registration, from_management=false, switchable_plans=()) %} {% set plan = group.pricing_plan %} {% set chosen = group.chosen_plan %} {% set is_leader = group.leader_registration_id == registration.id %} {% set join_url = url_for_plugin('group_registration.join_link', group.registration_form, join_uuid=group.join_uuid, _external=true) %}
{% trans seats=group.seats_left, target=group.target_size, label=chosen.label if chosen else '' -%} Your group needs {{ seats }} more member(s) to reach {{ target }} and confirm the "{{ label }}" rate. Share the code or the link below -- it will confirm itself the moment the last seat is filled. {%- endtrans %}
{% elif group.state.name == 'confirmed' %}{% trans label=chosen.label if chosen else '' -%} This group is confirmed on the "{{ label }}" rate. The amount you pay will not change. {%- endtrans %}
{% elif group.state.name == 'short' %}{% if plan %} {% trans aimed=chosen.label if chosen else '', label=plan.label -%} This group did not reach the "{{ aimed }}" seat count by the deadline, so the "{{ label }}" rate was applied instead. {%- endtrans %} {% else %} {% trans aimed=chosen.label if chosen else '' -%} This group did not reach the "{{ aimed }}" seat count by the deadline and does not qualify for a group rate, so the standard rate now applies. {%- endtrans %} {% endif %}
{% if membership.balance_due > 0 %}{% trans %}This group has been dissolved by the organizers and no group rate applies.{% endtrans %}
{% endif %} {% if group.state.name == 'forming' %}{% trans %}Send these to the people you want in your group however you like -- we do not e-mail them for you.{% endtrans %}
{% endif %}| {% trans %}Member{% endtrans %} | {% trans %}Status{% endtrans %} |
|---|---|
| {{ member.registration.full_name }} {%- if group.leader_registration_id == member.registration_id %} ({% trans %}leader{% endtrans %}) {%- endif %} | {{ member.registration.state.title }} |