From 2a5c95261c71d9c30d53053e2d0cd1c1282f6b1c Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 2 Feb 2022 11:16:44 +0800 Subject: Adapt jinja templates --- jimbrella/templates/admin/umbrellas_desktop.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 c8b0044..8b78e64 100644 --- a/jimbrella/templates/admin/umbrellas_desktop.html +++ b/jimbrella/templates/admin/umbrellas_desktop.html @@ -14,11 +14,11 @@ {% for umb in umbrellas %} - - {% if umb.serial == edit %} + + {% if umb.id == edit %}
- - {{ umb.serial }} + + {{ umb.id }} {{ status_dropdown(umb) }} @@ -32,7 +32,7 @@
{% else %} - {{ umb.serial }} + {{ umb.id }} {{ umb.status }} {{ umb.tenant_name }} {{ umb.tenant_id }} @@ -42,7 +42,7 @@ {% if umb.status in ["lent", "overdue"] %} ago {% endif %} - Edit + Edit {% endif %} -- cgit v1.2.3