Skip to content

Commit

Permalink
LTI-257: Hide end btn in shared rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariam05 authored and jfederico committed Jan 23, 2024
1 parent 5a93f70 commit 25199aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_room.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<% end %>
</div>
<div>
<% 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",
Expand Down

0 comments on commit 25199aa

Please sign in to comment.