From 25199aab6d401a9add2f7a4e6ebe1205652e29a3 Mon Sep 17 00:00:00 2001 From: Mariam05 Date: Thu, 4 Jan 2024 13:57:26 -0500 Subject: [PATCH] LTI-257: Hide end btn in shared rooms --- app/views/shared/_room.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_room.html.erb b/app/views/shared/_room.html.erb index e0c2ce3b..9c86237c 100644 --- a/app/views/shared/_room.html.erb +++ b/app/views/shared/_room.html.erb @@ -132,7 +132,7 @@ <% end %>
- <% if @user.admin? || @user.moderator?(bigbluebutton_moderator_roles) %> + <% if !@room.use_shared_code && (@user.admin? || @user.moderator?(bigbluebutton_moderator_roles)) %> <%= button_tag t('default.room.endmeeting'), type: 'button', class: "font-sans text-center text-red-600 border ml-2 border-red-600 px-4 py-2 w-50 mb-0 bg-white rounded hover:text-white hover:bg-red-600",