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_desktop.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'jimbrella/templates/admin/umbrellas_desktop.html') diff --git a/jimbrella/templates/admin/umbrellas_desktop.html b/jimbrella/templates/admin/umbrellas_desktop.html index 8b78e64..315f427 100644 --- a/jimbrella/templates/admin/umbrellas_desktop.html +++ b/jimbrella/templates/admin/umbrellas_desktop.html @@ -23,10 +23,8 @@ - - {{ umb.lent_time_ago_str }} - {% if umb.status in ["lent", "overdue"] %} ago {% endif %} - + + @@ -37,10 +35,8 @@ {{ umb.tenant_name }} {{ umb.tenant_id }} {{ umb.tenant_phone }} - {{ umb.lent_at_str }} - {{ umb.lent_time_ago_str }} - {% if umb.status in ["lent", "overdue"] %} ago {% endif %} - + {{ umb.lent_at }} + {{ umb.lent_time_ago }} Edit -- cgit v1.2.3