Files @ 7fac10241ec7
Branch filter:

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

Joel Addison
Improve attendee reports

Display attendee profile data in normal table without DataTables so
sorting is not applied, causing data to be confusing to read.
Include item quantity in attendee data report for accurate schwag packing.
<?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 xmlns="http://www.w3.org/2000/svg" width="105mm" height="148mm" viewBox="0 0 297.64 401.94">
    <title>badge_preview</title>
    <g id="Layer_1" data-name="Layer 1">
        <path d="M12.39,10.3H14.3V34.78H29.39V36.5h-17Z" fill="#faa61a"/>
        <path d="M34.29,10.3H36.2V36.5H34.29Z" fill="#faa61a"/>
        <path d="M66.67,10.3V36.5H65.1L47.24,13.74V36.5H45.33V10.3h1.61L64.76,33.06V10.3Z" fill="#faa61a"/>
        <path d="M78.33,33.81c-1.83-1.93-2.75-4.73-2.75-8.43V10.3h1.91v15q0,4.83,2.21,7.22a8.25,8.25,0,0,0,6.4,2.4,8.2,8.2,0,0,0,6.36-2.4c1.48-1.59,2.21-4,2.21-7.22v-15h1.91V25.38c0,3.7-.92,6.5-2.77,8.43s-4.43,2.88-7.75,2.88S80.17,35.73,78.33,33.81Z" fill="#faa61a"/>
        <path d="M121.55,36.5l-9-12.13-9,12.13H101.3L111.37,23,102,10.3h2.24l8.35,11.26L121,10.3h2.13L113.73,23,123.79,36.5Z" fill="#faa61a"/>
        <path d="M132.35,35a12.8,12.8,0,0,1-4.87-4.76,13.26,13.26,0,0,1-1.78-6.81,13.26,13.26,0,0,1,1.78-6.81,12.72,12.72,0,0,1,4.87-4.76,14,14,0,0,1,6.94-1.72,14.53,14.53,0,0,1,5.24.92,10.7,10.7,0,0,1,4.08,2.71L147.42,15a11,11,0,0,0-8-3.11,12.08,12.08,0,0,0-6,1.5,10.84,10.84,0,0,0-4.23,4.13,11.47,11.47,0,0,0-1.54,5.9,11.41,11.41,0,0,0,1.54,5.89,10.93,10.93,0,0,0,4.23,4.14,12.08,12.08,0,0,0,6,1.5,11,11,0,0,0,8-3.15L148.61,33a10.86,10.86,0,0,1-4.1,2.73A14.9,14.9,0,0,1,132.35,35Z" fill="#00b1c5"/>
        <path d="M207.16,10.3V36.5h-1.57L187.73,13.74V36.5h-1.91V10.3h1.61l17.82,22.76V10.3Z" fill="#00b1c5"/>
        <path d="M218.2,12V23.21h14v1.72h-14V36.5h-1.91V10.3h17.52V12Z" fill="#00b1c5"/>
        <path d="M254.85,29.13h-15.2l-3.33,7.37h-2.06l12.05-26.2h1.91l12.06,26.2h-2.06Zm-.71-1.61-6.89-15.13L240.4,27.52Z" fill="#faa61a"/>
        <path d="M267,33.81c-1.84-1.93-2.76-4.73-2.76-8.43V10.3h1.91v15q0,4.83,2.21,7.22a9.69,9.69,0,0,0,12.77,0q2.21-2.38,2.21-7.22v-15h1.91V25.38c0,3.7-.93,6.5-2.77,8.43s-4.43,2.88-7.75,2.88S268.83,35.73,267,33.81Z" fill="#faa61a"/>
        <path d="M169.61,10.3a12.7,12.7,0,0,0-6.81.09A13.83,13.83,0,0,0,159,12.14l1.29,1.29a11.39,11.39,0,0,1,2.84-1.24,11.11,11.11,0,0,1,5.89,0,11.43,11.43,0,0,1,5.25,3.09,11.51,11.51,0,0,1,3.09,5.25,11.11,11.11,0,0,1,0,5.89,12.6,12.6,0,0,1-8.43,8.43,10.89,10.89,0,0,1-5.91,0,11.41,11.41,0,0,1-5.25-3.08,11.46,11.46,0,0,1-3.08-5.25,10.89,10.89,0,0,1,.05-5.91A11.29,11.29,0,0,1,156,17.77l-1.29-1.28A13.38,13.38,0,0,0,153,20.25a12.88,12.88,0,0,0-.08,6.83,13.16,13.16,0,0,0,3.54,6.05,13.05,13.05,0,0,0,6.05,3.53,12.68,12.68,0,0,0,6.83-.08,14,14,0,0,0,6.15-3.69,14.11,14.11,0,0,0,3.71-6.14,12.7,12.7,0,0,0,.09-6.81,13.22,13.22,0,0,0-3.56-6.08A13.22,13.22,0,0,0,169.61,10.3Z" fill="#00b1c5"/>
        <path d="M30.5,286.12a3.49,3.49,0,1,0-3.72,3.72Z" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M28.1,302.92l2.33-2.33a1.24,1.24,0,0,0,0-1.75,1.24,1.24,0,0,1,1.76-1.76l1.32,1.32a2,2,0,1,0,2.81-2.81" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <rect x="26.26" y="287.53" width="6.98" height="3.14" transform="translate(-195.71 105.71) rotate(-45)" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <polyline points="32.13 288.8 37.11 294.52 35.17 296.46 29.45 291.48" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M19.94,284.42A12.4,12.4,0,1,0,24.39,280" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M54.4,313.59,56,312l-.39-.4a1.73,1.73,0,0,1,0-2.44L63.79,301" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="58.49" y1="306.27" x2="64.16" y2="311.95" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="65.68" y1="302.87" x2="60.38" y2="308.17" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="67.57" y1="304.75" x2="62.27" y2="310.05" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M51.13,316.86l-9.84,9.84a1.73,1.73,0,0,0,2.45,2.44l14.68-14.68.39.39a1.73,1.73,0,0,0,2.45,0l8.2-8.2" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="54.01" y1="318.88" x2="57.25" y2="315.63" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M67.59,326.78,42.52,301.72l-.27-.28a2.14,2.14,0,0,0-.17,2.13c1.57,2.51,10,14.8,10,14.8a1.75,1.75,0,0,0,2.33.12l.12.12L65,329.07a1.73,1.73,0,1,0,2.44-2.44" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M33.71,302.8a24.8,24.8,0,1,0,8.91-8.91" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="249.5" y1="327.62" x2="242.78" y2="320.9" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="244.95" y1="318.73" x2="251.67" y2="325.45" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="251.41" y1="325.18" x2="244.95" y2="318.73" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="246.38" y1="315.82" x2="253.57" y2="323.02" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="249.13" y1="318.57" x2="244.3" y2="313.75" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="246.63" y1="329.08" x2="240.62" y2="323.06" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="242.78" y1="320.9" x2="248.79" y2="326.91" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="235.7" y1="322.48" x2="233.44" y2="320.22" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="243.26" y1="330.04" x2="242.11" y2="328.89" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="240.62" y1="323.06" x2="245.42" y2="327.87" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M244.33,309.33a3.47,3.47,0,0,0-4.9,0l-2.23-2.22" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M233.44,320.22a3.48,3.48,0,0,1-.82-3.62l-2.27-2.27" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M245.42,327.87a1.53,1.53,0,1,1-2.16,2.17" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M248.76,326.87a1.53,1.53,0,1,1-2.17,2.17" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M251.67,325.45a1.53,1.53,0,0,1,0,2.17,1.55,1.55,0,0,1-2.17,0" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M253.57,323a1.53,1.53,0,1,1-2.16,2.16" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="239.53" y1="318.08" x2="244.36" y2="313.26" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="244.33" y1="308.85" x2="237.79" y2="315.39" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="252.9" y1="322.06" x2="255.22" y2="319.74" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M244.33,313.75a3.45,3.45,0,0,0,4.9,0" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M244.33,308.85a3.45,3.45,0,0,1,4.9,0l2-2" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M255.22,319.74a3.46,3.46,0,0,0,0-4.91" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="258.26" y1="313.9" x2="256.1" y2="316.05" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M237.79,315.39a1.56,1.56,0,0,0,0,2.22,1.58,1.58,0,0,0,2.22,0" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <circle cx="240.97" cy="327.89" r="1.51" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <circle cx="238.83" cy="325.76" r="1.51" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <circle cx="236.7" cy="323.62" r="1.51" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <rect x="250.22" y="305.98" width="12.72" height="5.13" transform="translate(293.33 -91.06) rotate(45)" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <rect x="225.16" y="305.4" width="12.72" height="6.06" transform="translate(-150.28 254.05) rotate(-45)" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <circle cx="259.48" cy="311.45" r="0.75" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="227.94" y1="307.95" x2="232" y2="312.01" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <line x1="230.95" y1="304.72" x2="235.24" y2="309" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M223.05,303.1a24.25,24.25,0,1,0,8.71-8.71" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.94"/>
        <path d="M123.26,302V299.5a5.22,5.22,0,1,1,10.43,0v2.41" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="125.86" y1="286.99" x2="125.86" y2="288.81" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="131.09" y1="286.99" x2="131.09" y2="288.81" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <circle cx="128.48" cy="290.94" r="1.75" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M135,301.11v-3.59l3.63-3.63H135v-3.83a6.57,6.57,0,0,0-13.13,0v3.83h-3.62l3.62,3.63v3.65" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M119.89,283.06a1.17,1.17,0,1,1,1.16-1.17,3.72,3.72,0,0,1-.14,1A3.49,3.49,0,0,1,119.89,283.06Z" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <polygon points="122 283.19 121.02 283.03 121.18 284.01 122 283.19" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M117.72,284.42a12.41,12.41,0,1,0,4.46-4.45" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M152.25,313.59l1.58-1.57-.39-.4a1.71,1.71,0,0,1,0-2.44l8.2-8.21" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="156.34" y1="306.27" x2="162.02" y2="311.95" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="163.54" y1="302.87" x2="158.24" y2="308.17" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="165.42" y1="304.75" x2="160.12" y2="310.05" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M149,316.86l-9.83,9.84a1.73,1.73,0,0,0,2.44,2.44l14.68-14.68.39.39a1.73,1.73,0,0,0,2.45,0l8.21-8.2" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <line x1="151.86" y1="318.88" x2="155.1" y2="315.63" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M165.44,326.78l-25.06-25.06-.28-.28a2.16,2.16,0,0,0-.17,2.13c1.57,2.51,10,14.8,10,14.8a1.73,1.73,0,0,0,2.32.12l.12.12,10.47,10.46a1.73,1.73,0,1,0,2.45-2.44" fill="none" stroke="#00b1c5" stroke-miterlimit="10" stroke-width="0.96"/>
        <path d="M131.56,302.8a24.8,24.8,0,1,0,8.91-8.91" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/>
    </g>
    <g id="Layer_2" data-name="Layer 2">
        <text transform="translate(148 138.19)" font-size="18" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
            <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan>
        </text>
        <text transform="translate(148 171.07)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
            <tspan letter-spacing="0em">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan>
        </text>
        <text transform="translate(148 205)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|length > 40 %}8{% else %}10{% endif %}" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
            <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1 }}</tspan>
        </text>
        <text transform="translate(148 230)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|length > 40 %}8{% else %}10{% endif %}" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
            <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2 }}</tspan>
        </text>
        <text transform="translate(148 362.4)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
            <tspan letter-spacing="0em">{{ ticket_type|upper }}</tspan>
        </text>
        <text transform="translate(74.56 283.21)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">{{ speakers_dinner_count }}</text>
        <text transform="translate(172.98 283.2)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">{{ penguin_dinner_count }}</text>
        <text transform="translate(265.47 283.21)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">{{ pdns_count }}</text>
        <text transform="translate(140.83 397.85)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">
            <tspan letter-spacing="0em">{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}18+{% endif %}</tspan>
        </text>
    </g>
</svg>