diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-02-02 23:23:45 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-02-02 23:23:45 +0800 |
commit | bad6b0a8d24392f1a8c4b45e2dd06ec84719f456 (patch) | |
tree | d9fac99b677215d154f41d269d335809feb7d23c /jimbrella/templates/admin/umbrellas_desktop.html | |
parent | 272eba3bc1217d339cb1b0e23fd5aad2bee752a4 (diff) |
Frontend lent_at UX enhancements
Diffstat (limited to 'jimbrella/templates/admin/umbrellas_desktop.html')
-rw-r--r-- | jimbrella/templates/admin/umbrellas_desktop.html | 12 |
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> |