diff options
author | Magnus Hagander | 2019-12-20 14:42:48 +0000 |
---|---|---|
committer | Magnus Hagander | 2019-12-20 14:42:48 +0000 |
commit | 4bae06b370d524f113c2510437fa056a36a01711 (patch) | |
tree | ae05da930afb71555cc103a648afd7f300a31006 | |
parent | 0930a24756bd717f8aa8940b1eba57be94a3e469 (diff) |
Re-order fields on default ticket
This moves the QR code higher up on the ticket, so it doesn't end up in
the previous place which typically is right on the fold of the paper.
Only the locations of fields is changed.
It would still definitely be beneficial if somebody with better design
skills did a once-over on the tickets to make them look better.
Fixes #7
-rw-r--r-- | template.jinja/confreg/ticket.json | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/template.jinja/confreg/ticket.json b/template.jinja/confreg/ticket.json index 9ec8213f..dcf7cd2b 100644 --- a/template.jinja/confreg/ticket.json +++ b/template.jinja/confreg/ticket.json @@ -10,22 +10,24 @@ {"type": "paragraph", "text": "Conference", "x": 10, "y": 32, "width": 130, "height": 5}, {"type": "paragraph", "text": "{{conference.conferencename}}", "x": 10, "y": 36, "width": 130, "height": 12, "color": "black", "align": "center", "bold": true}, - {"type": "box", "x": 8, "y": 52, "width": 134, "height": 20, "stroke": "black"}, - {"type": "paragraph", "text": "Attendee", "x": 10, "y": 54, "width": 130, "height": 5}, - {"type": "paragraph", "text": "{{reg.firstname|escapejson}} {{reg.lastname|escapejson}}", "x": 10, "y": 58, "width": 130, "height": 12, "color": "black", "align": "center"}, + {"type": "qrimage", "x": 60, "y": 54, "width": 30, "height": 30, "qrcontent": "{{reg.fullidtoken}}"}, - {"type": "box", "x": 8, "y": 74, "width": 67, "height": 20, "stroke": "black"}, - {"type": "paragraph", "text": "Dates", "x": 10, "y": 76, "width": 63, "height": 5}, - {"type": "paragraph", "text": "{%if reg.alldays%}{{reg.regdatestr}}{%else%}{{conference.conferencedatestr}}{%endif%}", "x": 10, "y": 80, "width": 63, "height": 12, "color": "black", "align": "center"}, - {"type": "box", "x": 75, "y": 74, "width": 67, "height": 20, "stroke": "black"}, - {"type": "paragraph", "text": "Location", "x": 77, "y": 76, "width": 63, "height": 5}, - {"type": "paragraph", "text": "{{conference.location}}", "x": 79, "y": 80, "width": 63, "height": 12, "color": "black", "align": "center"}, + {"type": "box", "x": 8, "y": 87, "width": 134, "height": 20, "stroke": "black"}, + {"type": "paragraph", "text": "Attendee", "x": 10, "y": 89, "width": 130, "height": 5}, + {"type": "paragraph", "text": "{{reg.firstname|escapejson}} {{reg.lastname|escapejson}}", "x": 10, "y": 93, "width": 130, "height": 12, "color": "black", "align": "center"}, + + {"type": "box", "x": 8, "y": 109, "width": 67, "height": 20, "stroke": "black"}, + {"type": "paragraph", "text": "Dates", "x": 10, "y": 111, "width": 63, "height": 5}, + {"type": "paragraph", "text": "{%if reg.alldays%}{{reg.regdatestr}}{%else%}{{conference.conferencedatestr}}{%endif%}", "x": 10, "y": 115, "width": 63, "height": 12, "color": "black", "align": "center"}, + {"type": "box", "x": 75, "y": 109, "width": 67, "height": 20, "stroke": "black"}, + {"type": "paragraph", "text": "Location", "x": 77, "y": 111, "width": 63, "height": 5}, + {"type": "paragraph", "text": "{{conference.location}}", "x": 79, "y": 115, "width": 63, "height": 12, "color": "black", "align": "center"} {%if reg.queuepartition%} - {"type": "box", "x": 8, "y": 96, "width": 134, "height": 20, "stroke": "black"}, - {"type": "paragraph", "text": "If queue partitioning is used at registration,\nplease go to the queue for:", "x": 10, "y": 98, "width": 100, "height": 15, "verticalcenter": true}, - {"type": "paragraph", "text": "{{reg.queuepartition}}", "x": 110, "y": 98, "width": 30, "height": 15, "verticalcenter": true, "align": "right"}, +, + {"type": "box", "x": 8, "y": 131, "width": 134, "height": 20, "stroke": "black"}, + {"type": "paragraph", "text": "If queue partitioning is used at registration,\nplease go to the queue for:", "x": 10, "y": 133, "width": 100, "height": 15, "verticalcenter": true}, + {"type": "paragraph", "text": "{{reg.queuepartition}}", "x": 110, "y": 133, "width": 30, "height": 15, "verticalcenter": true, "align": "right"} {%endif%} - {"type": "qrimage", "x": 60, "y": {{ 100 + (reg.queuepartition and 24 or 0) }}, "width": 30, "height": 30, "qrcontent": "{{reg.fullidtoken}}"} ] } |