Commit graph

151 commits

Author SHA1 Message Date
105cf4a044
Revert "Don't crash on orders that don't have a slug"
This reverts commit ff0ea068de.

The next commit (Create a slug for old orders in the migration) will
change our strategy of writing code to handle the legacy slugless orders:
we will generate a slug for old orders.
2022-05-25 13:56:07 +02:00
ff0ea068de
Don't crash on orders that don't have a slug
Orders created before we introduced slugs don't have a slug. This commit
introduces code to work with them. Without these changes, the legacy
orders are not reachable any more, and trying to create a link for them,
crashes the page.

I wrote this commit because in my test environment I had a long-lived
order for testing purposes, and the home page crashed because the order
would show up in the list of Open Orders.
2022-05-25 10:55:33 +02:00
44feb1a4ff
Change forgotten order_id to order_slug in a few places 2022-05-25 10:29:46 +02:00
mcbloch
a33c76f84b fix modify link 2022-05-20 19:14:10 +02:00
mcbloch
98214f8b84 Add share slug and qr code to order page 2022-05-20 19:04:25 +02:00
mcbloch
7702fdecbe change url usage to unique 7char slugs 2022-05-20 19:04:22 +02:00
b5202a9de6
Don't crash when rendering None price 2022-05-11 02:43:08 +02:00
03f1e56161
Fix bug with form inside form 2022-05-02 22:25:06 +02:00
cf27a7de8a
For loops don't work in this template engine 2022-05-02 22:04:45 +02:00
85d8892176
Hide buttons for which user has no permission 2022-05-02 21:56:38 +02:00
5a9d9c1d31
Update prices per person on key up
After user feedback
2022-04-22 01:25:01 +02:00
ced04acb2e
Remove TODO buttons 2022-04-22 01:19:11 +02:00
09e2d704cd
Add price editor 2022-04-22 01:19:07 +02:00
fc630e9061
Support marking items as paid 2022-04-20 18:09:45 +02:00
maartenvn
9e3578425f feat(pwa): add PWA support 2021-10-28 23:35:57 +02:00
02a82621b7
Improve footer: improve spacing, https URL 2021-07-24 17:51:26 +02:00
adcc0dd69e
Confine li spacing to .main 2021-07-24 17:51:26 +02:00
4a96c0c286
Correct phone URL, add phone URL on location 2021-07-24 17:51:26 +02:00
e82742eb62
Remove pills introduced in previous commit 2021-07-24 17:51:26 +02:00
16bd9243d4
Aggregate comments 2021-07-24 17:51:26 +02:00
1ff8ceb521
Improve design
Remove main CSS from shop view page. Make it theme independent and
maximize contrast.

Improve spacing in "add item" list.

Refactor old term "showcase" to "shop_view" in code.
2021-07-24 17:51:25 +02:00
65d6de21fa
Change no courier text from "No-one" to "no-one yet" 2021-06-19 01:00:22 +02:00
787669823c
Improve spacing between items in ordered dishes 2020-10-13 02:27:31 +02:00
695331dd1a
Fix margin in ordered dishes, less bold 2020-10-13 02:18:43 +02:00
342e94a7bf
Remove aligned price in menu and my_items 2020-10-13 02:10:45 +02:00
d3e6c1b08c
Use columns in order info faster, align prices in menu 2020-10-13 02:08:52 +02:00
c23a11bfdb
Fix flow quirks in "order information" section 2020-10-13 02:01:07 +02:00
8cefb48768
Collapse other dishes, save expanded dish in hash 2020-10-13 01:42:03 +02:00
837dc682bc
Tweak UI a bit after demo 2020-10-12 22:40:27 +02:00
9641435b64
Add norobot tag on order pages 2020-09-26 00:39:50 +02:00
7856302028
Improve order menu design 2020-09-25 21:12:41 +02:00
0b93307f1f
Fix mobile order page, show dish descriptions 2020-09-01 16:35:18 +02:00
6651a8d513
Show less TODOs on order page 2020-09-01 16:26:29 +02:00
8ccc508747
Tweak layout 2020-08-26 19:30:01 +02:00
1bea3d2fcc
Show stop date if needed, change to "add from favourites" 2020-08-26 19:30:00 +02:00
48d67cbd89
Remove weird d from colours, add separate bg 2020-08-26 19:30:00 +02:00
63ce1c5551
Show options for choices on location page 2020-08-26 19:30:00 +02:00
65ed818875
Start redesign of order page 2020-08-26 19:29:59 +02:00
cd67eab29b
Remove colons after some titles
Some titles had a colon, some hadn't. Titles don't need colons.
2020-08-08 15:43:58 +02:00
f6753172ec
Polish the admin interface a bit 2020-07-29 23:14:57 +02:00
aa1cd97773
Revert "Remove admin view"
This reverts commit a62e2bd9f7.
2020-07-29 21:01:47 +02:00
84957f3175
Fix theme on order items page 2020-07-24 12:42:39 +02:00
67df1cebff
Update link to zeus.gent and https 2020-07-18 20:09:03 +02:00
ff57afca9a
Fix themes 2020-07-18 03:29:27 +02:00
1fa38d08c6
Sort comments in order views 2020-03-10 18:39:11 +01:00
289b36b918
Correct timer behaviour, reload when time up 2020-03-05 00:40:16 +01:00
0f9a816eea
Make choice updating after dish change smoother 2020-03-04 22:35:55 +01:00
54dc1f23bf
Show choices immediately when changing dish 2020-03-04 22:07:33 +01:00
f60c1d180c
Stub for choice selection 2020-03-03 16:21:01 +01:00
a860998858
Add choices to location view 2020-02-29 22:26:00 +01:00