summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates
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
commitd28ad0a12169275f7203cbebc6cac391d0369047 (patch)
tree20d28c36620b2270176dd944dcf5de333e6c1453 /dashboard/src/templates
parentd6e337fa62c32155941333fe8fedc28e4f663700 (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 'dashboard/src/templates')
-rw-r--r--dashboard/src/templates/booking/booking_table.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/src/templates/booking/booking_table.html b/dashboard/src/templates/booking/booking_table.html
index af2248c..5e82645 100644
--- a/dashboard/src/templates/booking/booking_table.html
+++ b/dashboard/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 }}