diff --git a/app/templates/order.html b/app/templates/order.html index 108373a..0faeb15 100644 --- a/app/templates/order.html +++ b/app/templates/order.html @@ -53,15 +53,17 @@ {% endif %} -
-
Opens
-
{{ order.starttime.strftime("%d/%m/%Y %H:%M") }}
+
{{ order.starttime.strftime("%Y-%m-%d, %H:%M") }}
Closes
{% if order.stoptime %} - {{ order.stoptime.strftime("%H:%M") }} ({{ order.stoptime|countdown }}) + {% set stoptimefmt = ( + "%H:%M" if order.stoptime.date() == order.starttime.date() + else "%Y-%m-%d, %H:%M" + ) %} + {{ order.stoptime.strftime(stoptimefmt) }} ({{ order.stoptime|countdown }}) {% else %} Never {% endif %} @@ -140,8 +142,8 @@
-

Add from history

+ -->
+

Add from favourites

  • Todo
@@ -339,7 +341,7 @@ h3 { column-width: 150px; } -#from_history ul, #my_items ul, #per_person ul { +#from_favourites ul, #my_items ul, #per_person ul { list-style-type: none; padding: 0; }