From da7ec241f13f4fb2b422dd15f87942cacc1659e0 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Mon, 25 Oct 2021 00:20:20 +0800 Subject: HTML fragment: admin is taken to the row to edit --- jimbrella/templates/admin/umbrellas.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'jimbrella') diff --git a/jimbrella/templates/admin/umbrellas.html b/jimbrella/templates/admin/umbrellas.html index 8c92b4d..3a1455e 100644 --- a/jimbrella/templates/admin/umbrellas.html +++ b/jimbrella/templates/admin/umbrellas.html @@ -30,7 +30,7 @@ {% if umb.serial == edit %}
- + {{ umb.serial }}
{{ status_dropdown(umb) }}
@@ -55,7 +55,7 @@ {% else %} {# not edit mode #} {% if umb.status in ["lent", "overdue"] %} - + {{ umb.serial }}
{{ umb.status }}
@@ -71,11 +71,11 @@ {% if umb.status in ["lent", "overdue"] %} ago {% endif %} {% else %} - + {{ umb.serial }}
{{ umb.status }}
- Edit + Edit {% endif %} @@ -99,7 +99,7 @@ {% for umb in umbrellas %} - + {% if umb.serial == edit %} @@ -127,7 +127,7 @@ {% if umb.status in ["lent", "overdue"] %} ago {% endif %} - Edit + Edit {% endif %} -- cgit v1.2.3