From fe8515a1c3d29319dd2ef04678ca05919ed0934a Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Tue, 7 Jan 2020 21:04:14 +1000 Subject: [PATCH] Further badge font size adjustments Allow all of the free text to be rendered. Shrink font size if more than 40 characters in free text line. --- pinaxcon/templates/registrasion/badge.svg | 8 ++++---- pinaxcon/templates/registrasion/badge_overlay.svg | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pinaxcon/templates/registrasion/badge.svg b/pinaxcon/templates/registrasion/badge.svg index 80288bca..2fb119c4 100644 --- a/pinaxcon/templates/registrasion/badge.svg +++ b/pinaxcon/templates/registrasion/badge.svg @@ -127,11 +127,11 @@ {% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %} - - {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:45 }} + + {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1 }} - - {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:45 }} + + {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2 }} {{ ticket_type|upper }} diff --git a/pinaxcon/templates/registrasion/badge_overlay.svg b/pinaxcon/templates/registrasion/badge_overlay.svg index c8805548..c27d7c78 100644 --- a/pinaxcon/templates/registrasion/badge_overlay.svg +++ b/pinaxcon/templates/registrasion/badge_overlay.svg @@ -94,11 +94,11 @@ {% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %} - - {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:45 }} + + {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1 }} - - {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:45 }} + + {{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2 }} {{ ticket_type|upper }}