diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-02-02 11:33:48 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-02-02 11:33:48 +0800 |
commit | ac73e8544697a63370b4728188d59df809faf197 (patch) | |
tree | bcb2f2aebb13ee8fe31d40616dc7fc3a83bdb3fd /jimbrella/templates/admin | |
parent | 3ced6cc3bd7759fcab4c193d72bea09054d4b742 (diff) |
Umbrella count on admin page is done in core, not Jinja
Diffstat (limited to 'jimbrella/templates/admin')
-rw-r--r-- | jimbrella/templates/admin/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jimbrella/templates/admin/index.html b/jimbrella/templates/admin/index.html index 940f2c2..73ae5f6 100644 --- a/jimbrella/templates/admin/index.html +++ b/jimbrella/templates/admin/index.html @@ -15,7 +15,7 @@ <div class="banner overdue"> <h2 class="banner-heading">Overdue</h2> <span class="proportion"> - <strong class="big">{{ overdue|length }}</strong> / {{ umbrellas|length }} + <strong class="big">{{ overdue }}</strong> / {{ umbrellas }} </span> <div class="table-container"> {% if mobile %} @@ -64,13 +64,13 @@ <div class="tile lent"> <h2 class="tile-heading">Lent</h2> <span class="proportion"> - <strong class="big">{{ lent|length }}</strong> / {{ umbrellas|length }} + <strong class="big">{{ lent }}</strong> / {{ umbrellas }} </span> </div> <div class="tile available"> <h2 class="tile-heading">Available</h2> <span class="proportion"> - <strong class="big">{{ available|length }}</strong> / {{ umbrellas|length }} + <strong class="big">{{ available }}</strong> / {{ umbrellas }} </span> </div> </div> |