From 43d3f5dffae09f31054b7b8363b01aeff527d34b Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 15 Mar 2022 21:47:46 -0400 Subject: [PATCH] [rentals] Wrap long names in locker grid list --- rentals/templates/rentals/lockers.dj.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rentals/templates/rentals/lockers.dj.html b/rentals/templates/rentals/lockers.dj.html index 152a9cb..90b13a4 100644 --- a/rentals/templates/rentals/lockers.dj.html +++ b/rentals/templates/rentals/lockers.dj.html @@ -60,11 +60,11 @@ aria-haspopup="true" aria-expanded="false" data-rented="{{ locker_form.instance.renter|yesno:"true,false" }}"> -

{{ locker_form.instance.address }}

-
+

{{ locker_form.instance.address }}

+
{% if locker_form.instance.renter is not None %} {% if perms.rentals.view_lockerinfo %} - {{ locker_form.instance.renter }} + {{ locker_form.instance.renter|truncatechars:15 }} {% else %} Occupied {% endif %}