Update 2020 badge overlay

This commit is contained in:
Joel Addison 2020-01-12 23:49:06 +10:00
parent 61b4542f3f
commit ffac4753fc

View file

@ -13,36 +13,36 @@
<svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="148mm" viewBox="0 0 595.28 419.53">
<title>badge_double_overlay</title>
<g id="Text_L" data-name="Text L">
<text transform="translate(148.75 148.07)" font-size="18" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<text transform="translate(148.75 148.07)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.name|length > 15 %}22{% else %}18{% endif %}" fill="#000" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<tspan>{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan>
</text>
<text transform="translate(148.75 180.95)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<text transform="translate(148.75 180.95)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan>{% 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.75 212.18)" 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">
<text transform="translate(148.75 212.18)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|length > 40 %}8{% else %}10{% endif %}" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan>{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1 }}</tspan>
</text>
<text transform="translate(148.75 231.37)" 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">
<text transform="translate(148.75 231.37)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|length > 40 %}8{% else %}10{% endif %}" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan>{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2 }}</tspan>
</text>
<text transform="translate(74.56 270.09)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">
<text transform="translate(74.56 270.09)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro">
{{ speakers_dinner_count }}
</text>
<text transform="translate(172.98 270.08)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">
<text transform="translate(172.98 270.08)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro">
{{ penguin_dinner_count }}
</text>
<text transform="translate(265.47 270.08)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">
<text transform="translate(265.47 270.08)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro">
{{ pdns_count }}
</text>
<text transform="translate(172.98 310.93)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro">
<text transform="translate(172.98 310.93)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro">
{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}18+{% endif %}
</text>
<text transform="translate(148.75 340.28)" font-size="16" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<text transform="translate(148.75 340.28)" font-size="16" fill="#000" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<tspan>{{ ticket_type|upper }}</tspan>
</text>
</g>
<g id="Text_R" data-name="Text R">
<text transform="translate(446.25 148.07)" font-size="18" fill="#000" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<text transform="translate(446.25 148.07)" font-size="{% if user.attendee.attendeeprofilebase.attendeeprofile.name|length > 15 %}22{% else %}18{% endif %}" fill="#000" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<tspan>{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan>
</text>
<text transform="translate(446.25 180.95)" font-size="14" fill="#000" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB