Files @ d4b0b52253ae
Branch filter:

Location: symposion_app/pinaxcon/templates/registrasion/badge_overlay.svg

Joel Addison
Registrasion updates

Show applied vouchers on attendee registration admin page.
Add head title and page title to more areas.
Update the dashboard to show warning for empty categories and have
button to open voucher page.
Fix exception on attendee page when user does not have attendee object.
<?xml version="1.0" encoding="UTF-8"?>
<!--
{% load registrasion_tags %}
{% load lca2018_tags %}
{% items_purchased as purchased %}
{% items_pending as pending %}
{% items_purchased 1 as ticket %}
{% total_items_purchased 3 as penguin_dinner_count %}
{% total_items_purchased 4 as speakers_dinner_count %}
{% total_items_purchased 5 as pdns_count %}
{% ticket_type as ticket_type %}
-->
<svg width="148mm" height="210mm" version="1.1" viewBox="0 0 148 210"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:cc="http://creativecommons.org/ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <clipPath id="b">
      <path d="M 0,420.945 H 595.276 V 0 H 0 Z"/>
    </clipPath>
    <clipPath id="a">
      <path d="M 0,420.945 H 595.276 V 0 H 0 Z"/>
    </clipPath>
  </defs>
  <metadata>
    <rdf:RDF>
      <cc:Work rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
        <dc:title/>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g transform="translate(0,-87)">
    <g>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="63.592064" y="78.918243" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="63.592064 67.696709 71.594971 75.140808 79.058128 83.090378 87.033722 90.855789 94.305115 98.148766 102.2896 106.42982 110.32552 114.4651 118.60529 122.77724 126.91492 130.83919 134.60918 138.64143 142.72893 146.85008 150.8963 154.92854" y="78.918243" stroke-width=".35278">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="63.592064" y="96.918243" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="63.592064 67.696709 71.594971 75.140808 79.058128 83.090378 87.033722 90.855789 94.305115 98.148766 102.2896 106.42982 110.32552 114.4651 118.60529 122.77724 126.91492 130.83919 134.60918 138.64143 142.72893 146.85008 150.8963 154.92854" y="96.918243" stroke-width=".35278">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:35 }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="63.592064" y="103.918243" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="63.592064 67.696709 71.594971 75.140808 79.058128 83.090378 87.033722 90.855789 94.305115 98.148766 102.2896 106.42982 110.32552 114.4651 118.60529 122.77724 126.91492 130.83919 134.60918 138.64143 142.72893 146.85008 150.8963 154.92854" y="103.918243" stroke-width=".35278">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:35 }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="157.97801" y="19.488819" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="157.97801" y="19.488819" stroke-width=".35278">{{ ticket_type|upper }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="119.76868" y="19.488819" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="119.76868" y="19.488819" stroke-width=".35278">{{ speakers_dinner_count }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="160.978" y="19.488819" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="63.442005 67.483788 71.350937" stroke-width=".35278">{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}18+{% endif %}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="97.775948" y="19.488819" fill="#000000" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="97.775948" y="19.488819" fill="#000000" stroke-width=".35278">{{ penguin_dinner_count }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="147.10321" y="19.488667" fill="#000000" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="147.10321" y="19.488667" fill="#000000" stroke-width=".35278">{{ pdns_count }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="62.309589" y="46.964298" fill="#d35f5f" font-family="sans-serif" font-size="10.583px" letter-spacing="0px" stroke-width=".26458" word-spacing="0px" style="line-height:1.25" xml:space="preserve">
        <tspan x="62.309589" y="46.964298" fill="#000000" font-family="Space Mono" font-size="14.933px" letter-spacing=".26458px" stroke-width=".26458">{{ user.attendee.attendeeprofilebase.attendeeprofile.first_name }}</tspan>
      </text>
      <text transform="matrix(.70476 0 0 .70946 .00070011 86.291)" x="62.309589" y="67.431442" fill="#d35f5f" font-family="sans-serif" font-size="10.583px" letter-spacing="0px" stroke-width=".26458" word-spacing="0px" style="line-height:1.25" xml:space="preserve">
        <tspan x="62.309589" y="67.431442" fill="#1a1a1a" font-family="Space Mono" font-size="14.933px" letter-spacing=".26458px" stroke-width=".26458">{{ user.attendee.attendeeprofilebase.attendeeprofile.last_name }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-146.40863" y="-219.08063" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-146.40863 -142.304 -138.40573 -134.85989 -130.94258 -126.91032 -122.96698 -119.14491 -115.69559 -111.85194 -107.7111 -103.57088 -99.675179 -95.535606 -91.395416 -87.223465 -83.085785 -79.161507 -75.391518 -71.359261 -67.271767 -63.150616 -59.104397 -55.072155" y="-219.08063" stroke-width=".35278">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-146.40863" y="-201.08063" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-146.40863 -142.304 -138.40573 -134.85989 -130.94258 -126.91032 -122.96698 -119.14491 -115.69559 -111.85194 -107.7111 -103.57088 -99.675179 -95.535606 -91.395416 -87.223465 -83.085785 -79.161507 -75.391518 -71.359261 -67.271767 -63.150616 -59.104397 -55.072155" y="-201.08063" stroke-width=".35278">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:35 }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-146.40863" y="-194.08063" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-146.40863 -142.304 -138.40573 -134.85989 -130.94258 -126.91032 -122.96698 -119.14491 -115.69559 -111.85194 -107.7111 -103.57088 -99.675179 -95.535606 -91.395416 -87.223465 -83.085785 -79.161507 -75.391518 -71.359261 -67.271767 -63.150616 -59.104397 -55.072155" y="-194.08063" stroke-width=".35278">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:35 }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-52.022686" y="-278.51004" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-52.022686" y="-278.51004" stroke-width=".35278">{{ ticket_type|upper }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-90.232025" y="-278.51004" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-90.232025" y="-278.51004" stroke-width=".35278">{{ speakers_dinner_count }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-49.022701" y="-278.51004" fill="#100f0d" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-146.5587 -142.51692 -138.64977" stroke-width=".35278">{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}18+{% endif %}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-112.22475" y="-278.51004" fill="#000000" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-112.22475" y="-278.51004" fill="#000000" stroke-width=".35278">{{ penguin_dinner_count }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-62.897488" y="-278.51019" fill="#000000" font-family="Space Mono" font-size="6.35px" stroke-width=".35278">
        <tspan x="-62.897488" y="-278.51019" fill="#000000" stroke-width=".35278">{{ pdns_count }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-147.69112" y="-251.03458" fill="#d35f5f" font-family="sans-serif" font-size="10.583px" letter-spacing="0px" stroke-width=".26458" word-spacing="0px" style="line-height:1.25" xml:space="preserve">
        <tspan x="-147.69112" y="-251.03458" fill="#000000" font-family="Space Mono" font-size="14.933px" letter-spacing=".26458px" stroke-width=".26458">{{ user.attendee.attendeeprofilebase.attendeeprofile.first_name }}</tspan>
      </text>
      <text transform="matrix(-.70476 0 0 -.70946 .00070011 86.291)" x="-147.69112" y="-230.56743" fill="#d35f5f" font-family="sans-serif" font-size="10.583px" letter-spacing="0px" stroke-width=".26458" word-spacing="0px" style="line-height:1.25" xml:space="preserve">
        <tspan x="-147.69112" y="-230.56743" fill="#1a1a1a" font-family="Space Mono" font-size="14.933px" letter-spacing=".26458px" stroke-width=".26458">{{ user.attendee.attendeeprofilebase.attendeeprofile.last_name }}</tspan>
      </text>
    </g>
  </g>
</svg>