Fix Booking List 57/63957/1
authorParker Berberian <pberberian@iol.unh.edu>
Wed, 24 Oct 2018 14:04:41 +0000 (10:04 -0400)
committerParker Berberian <pberberian@iol.unh.edu>
Wed, 24 Oct 2018 14:04:41 +0000 (10:04 -0400)
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>
dashboard/src/templates/booking/booking_table.html

index af2248c..5e82645 100644 (file)
@@ -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 }}