diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index 0ccfe5f9..e1a6a027 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -162,6 +162,12 @@ + + + + + + diff --git a/hosting/templates/hosting/order_detail.html b/hosting/templates/hosting/order_detail.html index e859752e..761550fe 100644 --- a/hosting/templates/hosting/order_detail.html +++ b/hosting/templates/hosting/order_detail.html @@ -35,7 +35,7 @@
{% trans "Date"%}:
- {{order.created_at}}

+ {{order.created_at|date:'Y-m-d H:i'}}

{% trans "Status:"%}
{{vm.disk_size}} GB


-

{% trans "Total"%}

{{vm.price}} CHF

+

{% trans "Total"%}

{{vm.price}} CHF


{% url 'hosting:payment' as payment_url %} @@ -81,4 +81,17 @@ {% endif %} + + + {%endblock%} + diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index b52e7fc0..99aab23e 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -24,7 +24,7 @@ {% for order in orders %} {{ order.id }} - {{ order.created_at }} + {{ order.created_at | date:"M d, Y" }} {{ order.price }} CHF {% if order.approved %} {% trans "Approved"%} diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index 6dd2c823..1dc45e54 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -32,7 +32,8 @@ {% for user_key in keys %} {{user_key.name}} - {{user_key.created_at}} + + {{user_key.created_at|date:'Y-m-d H:i' }} Active @@ -92,5 +93,21 @@ {% endif %} + + + + {%endblock%}