summaryrefslogtreecommitdiff
path: root/jimbrella/templates/admin/umbrellas_desktop.html
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/templates/admin/umbrellas_desktop.html')
-rw-r--r--jimbrella/templates/admin/umbrellas_desktop.html12
1 files changed, 4 insertions, 8 deletions
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 @@
<td><input name="tenant_name" value="{{ umb.tenant_name }}" class="db-edit" /></td>
<td><input name="tenant_id" type="number" value="{{ umb.tenant_id }}" class="db-edit" /></td>
<td><input name="tenant_phone" type="tel" value="{{ umb.tenant_phone }}" class="db-edit" /></td>
- <td><input name="lent_at" type="datetime-local" value="{{ umb.lent_at_str }}"/></td>
- <td>{{ umb.lent_time_ago_str }}
- {% if umb.status in ["lent", "overdue"] %} ago {% endif %}
- </td>
+ <td><input name="lent_at" type="datetime-local" value="{{ umb.lent_at }}"/></td>
+ <td></td>
<td>
<input type="submit" value="Submit" />
</td>
@@ -37,10 +35,8 @@
<td>{{ umb.tenant_name }}</td>
<td>{{ umb.tenant_id }}</td>
<td>{{ umb.tenant_phone }}</td>
- <td>{{ umb.lent_at_str }}</td>
- <td>{{ umb.lent_time_ago_str }}
- {% if umb.status in ["lent", "overdue"] %} ago {% endif %}
- </td>
+ <td>{{ umb.lent_at }}</td>
+ <td>{{ umb.lent_time_ago }}</td>
<td>
<a href="/admin/umbrellas?edit={{ umb.id }}#{{ umb.id }}">Edit</a>
</td>