[rentals] Wrap long names in locker grid list
This commit is contained in:
parent
5ae60be3b4
commit
43d3f5dffa
@ -60,11 +60,11 @@
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"
|
||||
data-rented="{{ locker_form.instance.renter|yesno:"true,false" }}">
|
||||
<h3 class="locker-address">{{ locker_form.instance.address }}</h3>
|
||||
<div class="locker-status">
|
||||
<h3 class="locker-address mb-0">{{ locker_form.instance.address }}</h3>
|
||||
<div class="locker-status text-wrap">
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user