+ {% if m.canceled %}{% endif %}
+
+ {{ m.membership_type.name }}
+
+ {% if m.canceled %}{% endif %}
+ {% if m.membership_type.transferable %}
+
+ {% icon "users" %}
+
{% endif %}
- -
-
- {% if m.canceled %}
- {% textbubble "danger" icon="times" %}
- {% trans "Canceled" %}
- {% endtextbubble %}
- {% elif m.expired %}
- {% icon "minus-square-o" %}
- {% trans "Expired since" %}
-
- {% elif m.not_yet_valid %}
- {% icon "clock-o" %}
- {% trans "Valid from" %}
-
- {% else %}
- {% icon "check" %}
- {% trans "Valid until" %}
-
- {% endif %}
-
-
- {% if m.testmode %}
- -
-
- {% textbubble "warning" %}
- {% trans "TEST MODE" %}
+
+ {% if m.attendee_name %}
+ + {% icon "id-badge" %} + {% trans "Attendee name" %}: + {{ m.attendee_name }} +
+ {% endif %} ++ + {% if m.canceled %} + {% textbubble "danger" icon="times" %} + {% trans "Canceled" %} {% endtextbubble %} - - + {% elif m.expired %} + {% icon "minus-square-o" %} + {% trans "Expired since" %} + + {% elif m.not_yet_valid %} + {% icon "clock-o" %} + {% trans "Valid from" %} + + {% else %} + {% icon "check" %} + {% trans "Valid until" %} + {% endif %} -
+ + {% textbubble "warning" %} + {% trans "TEST MODE" %} + {% endtextbubble %} + +
+ {% endif %} ++
{% trans "You don’t have any memberships in your account yet." %}
{% endif %} diff --git a/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html b/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html index 0afd6ad9a5..b297bf7503 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html @@ -15,65 +15,60 @@