summaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/src/templates/booking/booking_table.html4
-rw-r--r--dashboard/src/templates/dashboard/multiple_select_filter_widget.html1
2 files changed, 3 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 }}
diff --git a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html
index ed29ed6..31b8f33 100644
--- a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html
+++ b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html
@@ -337,6 +337,7 @@ function add_item_prepopulate(node, prepopulate){
button.appendChild(document.createTextNode("Remove"));
div.appendChild(button);
document.getElementById("dropdown_wrapper").appendChild(div);
+ updateObjectResult(div);
return div;
}