diff --git a/static/js/rooms/viewManager.js b/static/js/rooms/viewManager.js index 98beef7..b0d8387 100644 --- a/static/js/rooms/viewManager.js +++ b/static/js/rooms/viewManager.js @@ -300,6 +300,15 @@ export class ViewManager { `); } + // Add star button + actions.push(` + + `); + if (this.roomManager.canDelete) { actions.push(` + + +
Files
+ +
+ {% if current_user.is_admin %} + + Manage Members + + {% endif %} + {% if current_user.is_admin or can_upload %} + +
+ + +
+ {% endif %} + {% if current_user.is_admin or can_download %} + + {% endif %} + {% if current_user.is_admin or can_delete %} + + {% endif %} +
+ +
+ +
+ + +
+ + +
+
+
+ + + + + + + + + + + + + + +@ -217,1713 +266,29 @@ +
+ +
+ + + + + + +{% endblock %} \ No newline at end of file