From bad6b0a8d24392f1a8c4b45e2dd06ec84719f456 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 2 Feb 2022 23:23:45 +0800 Subject: Frontend lent_at UX enhancements --- jimbrella/templates/admin/umbrellas_mobile.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'jimbrella/templates/admin/umbrellas_mobile.html') diff --git a/jimbrella/templates/admin/umbrellas_mobile.html b/jimbrella/templates/admin/umbrellas_mobile.html index 705722f..441ce17 100644 --- a/jimbrella/templates/admin/umbrellas_mobile.html +++ b/jimbrella/templates/admin/umbrellas_mobile.html @@ -7,7 +7,7 @@
- + {{ umb.id }}
{{ status_dropdown(umb) }}
@@ -21,12 +21,8 @@ - + - - {{ umb.lent_time_ago_str }} - {% if umb.status in ["lent", "overdue"] %} ago {% endif %} -
{% else %} {# not edit mode #} @@ -41,10 +37,9 @@ {{ umb.tenant_id }} {{ umb.tenant_phone }} - {{ umb.lent_at_str }} + {{ umb.lent_at }} - {{ umb.lent_time_ago_str }} - {% if umb.status in ["lent", "overdue"] %} ago {% endif %} + {{ umb.lent_time_ago }} {% else %} -- cgit v1.2.3