Commit graph

64 commits

Author SHA1 Message Date
Tobias
50c2f76d52 Badge print fixes 2019-01-17 14:24:43 +13:00
Tobias
811571b54c Fix svg font size 2019-01-17 13:35:24 +13:00
Tobias
8fe96fdcc5 Fix typo 2019-01-17 12:50:56 +13:00
Tobias
aa444a0e94 Update name wrapping code 2019-01-17 12:36:14 +13:00
Tobias
289892458c Upload SVG badge 2019-01-17 11:07:18 +13:00
Tobias
d3020247e4 Fix base template for stripe-related things 2018-10-31 17:19:04 +13:00
Tobias
55a0b4c29e Use proposals_body instead 2018-10-31 17:10:56 +13:00
James Polley
6fe3b8d3db Use correct name for the body block
Somewhere along the line this seems to have changed from body to body_outer
2018-10-31 03:22:55 +00:00
Tobias S
4f071928d2 Add stripe.network domain to js notice. 2018-10-08 04:10:59 +00:00
Tobias
aff75a66eb Print improvements 2018-10-01 20:44:25 +13:00
Tobias
62158ac3dc Quick fix for report view 2018-10-01 13:32:56 +13:00
Tobias
2db0d95426 Make discount heading even smaller 2018-09-30 18:58:47 +13:00
Tobias
ed7ae7e3e5 Shirt order and link fixes 2018-09-30 17:00:38 +13:00
Tobias
84d2931921 Change invoice details for NZ 2018-09-30 17:00:17 +13:00
Tobias
bcdc6a864a Minor tweaks before testing 2018-09-30 08:56:30 +13:00
Tobias
804dc2508c Add inventory and schedule fixtures 2018-09-29 17:14:21 +12:00
Tobias
c42f2686cf Update profile form 2018-09-29 17:14:21 +12:00
Tobias
8bffe45d54 Further template tweaks 2018-09-29 17:14:21 +12:00
Tobias
123de1a15d Further FE improvements for checkout process 2018-09-29 17:14:21 +12:00
Tobias
74dc779999 WIP for rego form, 2 2018-09-29 17:14:21 +12:00
Tobias
d651776016 WIP for rego form 2018-09-29 17:14:21 +12:00
Tobias Schulmann
4e8296e235 Change team@ to contact@ 2018-07-07 16:35:17 +12:00
James Polley
a8551e999c Add in actually badge overlay 2018-01-21 00:50:51 +11:00
Sachi King
763f69cb61 Add overlay badge support
Support so print can print only important text.

SVG modified to use display:inline/none based on overlay True/False and
a symlink to make it easy to change to a completely seperate svg if that
is not optimal.

SVG added layers to split text and graphic so graphics can be easily
hidden and printed.

Closes: #38
2018-01-20 12:36:09 +11:00
James Polley
7d18387670 If no boardingpass, make one
- Use the first template in the system
 - If there's no template, use /tickets/review as it at least gives
 - people an overview of what they've paid for and warns them of
   missing categories
2018-01-16 23:11:14 +11:00
James Polley
1a2b4f4688 Company isn't shown for hobbyists/students/day tickets 2018-01-15 02:52:11 +11:00
James Polley
39669055ef Update badge rendering to reflect actual render
* Switch to showing the PNG version by default, as this reflects what
  will actually be rendered and sent to the printer
* Include the greyscale filter
* Include the twemoji font we'll use for rendering the badges
2018-01-15 00:30:30 +11:00
James Polley
c15848bfce Fix off-by-one errors in ticket categories 2018-01-09 04:29:00 +00:00
James Polley
c478fb8454 Update badge template 2018-01-07 17:45:33 +11:00
James Polley
eac35f3604 Add a button class so that the button gets drawn 2017-12-31 17:23:54 +11:00
James Polley
d4ca04bada * Fix categories for badge icons, company names
* Company names had a misspelled filter and weren't being displayed
* Add some conditional logic so that company names don't get shown for
  hobbyists or students
2017-12-27 02:51:57 +11:00
James Polley
f675580d6b Add support for badge PDFs also
* Add a greyscale filter to text for more accurate preview
* Always default to SVG preview as it's the most accurate (cairo
  doesn't do a great job of handling custom fonts when it converts to
  png/pdf)
* Always use roboto font.
2017-12-26 23:55:09 +11:00
James Polley
d14048bcb8 Further changes to support badge generation for lca2018
* Undo some of the debugging done early in this series of patches
* Add ability for a user to preview their own badge
* Add a template for the LCA2018 badge
2017-12-26 21:01:40 +11:00
Sachi King
9ab075e51c Badges work by copy-pasting lca2017/pyconau2017 code around
WIP - Push for share
2017-12-26 04:24:20 +00:00
James Polley
cabad1c7d5 Change "Apply voucher" button into a link
I can't find the form that should be displayed here, so the simplest
thing I can do at 11pm is to make this a link. That's unsatisfying but
hopefully works.
2017-12-23 23:05:56 +11:00
James Polley
98fe425867 Tidy presentation of discounts list 2017-12-23 21:52:58 +11:00
James Polley
2aae2af55d Disable client-side validation on credit_note forms
* HTML5 browsers have some clevers to do client-side validation of
  forms
* Django activates this by default for certain field types
* However, in this case, there are three forms on this page. We rely
  on two of them being invalid in order to figure out what processing
  to do.
* So we need to disable the client-side validation.
2017-12-23 13:13:43 +11:00
James Polley
4f37556db0 Only copy visible columns on attendee reports
Also, add the ability to choose which columns are visible.
2017-12-01 12:22:42 +11:00
James Polley
3334469d30 Tweak invoice templates so that header text is hidden on print 2017-10-11 21:57:04 +11:00
James Polley
d0f4b1c455 Update datatables libraries
This fixes some display issues and adds functionality.
2017-10-08 16:14:28 +11:00
James Polley
8aa1148f7a Make datatable work for each table on the page, not just the first 2017-10-05 00:55:30 +11:00
James Polley
f6b629bd60 Remove debugging line left on profile form. 2017-10-04 23:49:16 +11:00
James Polley
45512e815a Add datatables tools to ticket reports 2017-10-04 20:43:00 +11:00
James Polley
3c6c98021d Clarify function of buttons on profile form
* "return to dashboard" throws away changes, so change the label to
  "cancel" to make this more clear.
* "Save profile" is probably the button you're looking for, so flag it
  as btn-success to make this clear.
2017-10-04 18:06:23 +11:00
James Polley
ec71df90c8 Enable adding voucher from the review screen 2017-10-02 00:44:01 +11:00
James Polley
b0de856255 Clarify wording about complimentary products 2017-10-01 22:56:20 +11:00
James Polley
b8dcbd89b7 Draw more attention to the need to select complimentary items
A big complaint from 2017 was that people overlooked things like
shirts and dinner tickets as those are complimentary, so they assumed
they didn't need to choose them.

This change adds some labels and some explanatory text to try to make
this more clear.
2017-10-01 20:02:58 +11:00
James Polley
348e1c5c82 Javascript hack to make it more clear that postcode is mandatory
On the two pages that display the profile form, add some javascript to
flag the postcode as required whenever the Country is AU
2017-10-01 18:45:29 +11:00
James Polley
7965ac4111 De-dupe discount header/text
The version with the header was better, so let's use that in both
places by moving it inside the template.
2017-10-01 14:44:41 +11:00
James Polley
e51ad76384 Add a "Back" button to the guided_registration stages
"Next" is green, indicating that it's the default path, the way
forward. "Back" is available but blue.

For extra consistency, the initial "Get ticket" button is now also a btn-success
2017-09-30 18:45:57 +10:00