haldis/app/templates
Midgard 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
..
admin Polish the admin interface a bit 2020-07-29 23:14:57 +02:00
errors Make whitespace match convention 2020-02-29 17:37:33 +01:00
about.html Make whitespace match convention 2020-02-29 17:37:33 +01:00
home.html Remove colons after some titles 2020-08-08 15:43:58 +02:00
layout.html feat(pwa): add PWA support 2021-10-28 23:35:57 +02:00
location.html Correct phone URL, add phone URL on location 2021-07-24 17:51:26 +02:00
locations.html Make whitespace match convention 2020-02-29 17:37:33 +01:00
maps.html Make whitespace match convention 2020-02-29 17:37:33 +01:00
order.html Don't crash on orders that don't have a slug 2022-05-25 10:55:33 +02:00
order_edit.html change url usage to unique 7char slugs 2022-05-20 19:04:22 +02:00
order_items.html Remove pills introduced in previous commit 2021-07-24 17:51:26 +02:00
order_prices.html Don't crash on orders that don't have a slug 2022-05-25 10:55:33 +02:00
orders.html Remove colons after some titles 2020-08-08 15:43:58 +02:00
profile.html Fix themes 2020-07-18 03:29:27 +02:00
stats.html Make whitespace match convention 2020-02-29 17:37:33 +01:00
utils.html Don't crash on orders that don't have a slug 2022-05-25 10:55:33 +02:00