From: Konrad Rosenbaum Date: Sun, 27 Sep 2015 18:59:11 +0000 (+0200) Subject: add event time to example web templates X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=b849b6704cb71a1e5bcf5ba889124f3fe5cebf09;p=web%2Fkonrad%2Fsmoke.git add event time to example web templates --- diff --git a/www/template/en/cart.html b/www/template/en/cart.html index 071f1cb..e987007 100644 --- a/www/template/en/cart.html +++ b/www/template/en/cart.html @@ -23,7 +23,7 @@ {% for ticket in cart.tickets %} {% set pricesum=ticket.price * ticket.amount %} - Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) + Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) {{ticket.event.start|asDateTime}} {{ticket.price|asMoney}} {{ticket.amount}} {{pricesum|asMoney}} diff --git a/www/template/en/checkout.html b/www/template/en/checkout.html index 7653a60..a818d79 100644 --- a/www/template/en/checkout.html +++ b/www/template/en/checkout.html @@ -52,7 +52,7 @@ {% for ticket in cart.tickets %} {% set pricesum=ticket.price * ticket.amount %} - Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) + Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) {{ticket.event.start|asDateTime}} {{ticket.price|asMoney}} {{ticket.amount}} {{pricesum|asMoney}} diff --git a/www/template/en/placeorder.html b/www/template/en/placeorder.html index ad8acfc..3738841 100644 --- a/www/template/en/placeorder.html +++ b/www/template/en/placeorder.html @@ -140,7 +140,7 @@ Your order has been placed. You will receive confirmation via email.

{% for ticket in order.tickets %} Ticket: {{ticket.ticketid}} - {{ticket.event.title}} ({{ticket.pricecategory.name}}) + {{ticket.event.title}} ({{ticket.pricecategory.name}}) {{ticket.event.start|asDateTime}} {{ticket.price|asMoney}} {% endfor %} @@ -191,11 +191,11 @@ ARRRRGGHHHHHH! {% for ticket in outcart.tickets %} {% set pricesum=ticket.price * ticket.amount %} - Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) + Ticket: {{ticket.event.title}} ({{ticket.eventprice.pricecategory.name}}) {{ticket.event.start|asDateTime}} {{ticket.price|asMoney}} {{ticket.amount}} {{pricesum|asMoney}} - {{ticket.str_status}} + 0 %}bgcolor="#ff8080"{% endif %}>{{ticket.str_status}} (Max {{ticket.maxamount}} available) {% endfor %}