diff --git a/pinaxcon/templates/registrasion/badge.svg b/pinaxcon/templates/registrasion/badge.svg index 499ac6dbadf37296911a9ada27f4fdcbaa923af6..941a414c07e6988ac5f42596b575fedbcdb8d50e 100644 --- a/pinaxcon/templates/registrasion/badge.svg +++ b/pinaxcon/templates/registrasion/badge.svg @@ -1,158 +1,14 @@ - - +{% spaceless %} - +{% load nbpy_tags %} +{% name_split user.attendee.attendeeprofilebase.attendeeprofile.name as split_name %} +{% ticket_type as ticket %} +{% affiliation ticket user as aff %} +{% company_split aff as split_affiliation %} +{% special user as special %} - - - - - - - image/svg+xml - - - - - - - {{ user.attendee.attendeeprofilebase.attendeeprofile.name }}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1 }}{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2 }}{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}18+?{% else %}MINOR{% endif %}DINNER: {{ dinner_count }}BREAKFAST: {{ breakfast_count }}TICKET: {% for ticket in ticket %}{{ ticket.product.name }}{% endfor %} - - - +{% with name1=split_name.first name2=split_name.last affiliation1=split_affiliation.first affiliation2=split_affiliation.last %} + {% include "registrasion/badge_outer.svg" %} +{% endwith %} + +{% endspaceless %}