summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-24 10:04:41 -0400
committerParker Berberian <pberberian@iol.unh.edu>2018-10-24 10:04:41 -0400
commitcb49490a89e23b19e052061bdf528c1e7816a7df (patch)
treef7f46250a5f443625f0e7d9b67b66ab9ae1e4f18 /src
parentebc42347105caa2be52a8337372ae4793fe9182c (diff)
Fix Booking List
The table that lists all active bookings at /booking/list/ was using booking.user. This doesn't exist anymore, changed to booking.owner Change-Id: I76c8d498f4dbe64d88c4c6f7b5e380559b125e44 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src')
-rw-r--r--src/templates/booking/booking_table.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/booking/booking_table.html b/src/templates/booking/booking_table.html
index af2248c..5e82645 100644
--- a/src/templates/booking/booking_table.html
+++ b/src/templates/booking/booking_table.html
@@ -3,7 +3,7 @@
<thead>
<tr>
- <th>User</th>
+ <th>Owner</th>
<th>Purpose</th>
<th>Start</th>
<th>End</th>
@@ -16,7 +16,7 @@
{% for booking in bookings %}
<tr>
<td>
- {{ booking.user.username }}
+ {{ booking.owner.username }}
</td>
<td>
{{ booking.purpose }}