forked from External/greenlight
Added All Join as Moderator room setting (#696)
This commit is contained in:
committed by
Jesus Federico
parent
5f237194b1
commit
973c95339c
@ -67,6 +67,14 @@
|
||||
</label>
|
||||
<% end %>
|
||||
|
||||
<% if Rails.configuration.room_features.include? "all-join-moderator" %>
|
||||
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
|
||||
<span class="custom-switch-description"><%= t("modal.room_settings.join_moderator")%></span>
|
||||
<%= f.check_box :all_join_moderator, class: "custom-switch-input", checked: false %>
|
||||
<span class="custom-switch-indicator float-right cursor-pointer"></span>
|
||||
</label>
|
||||
<% end %>
|
||||
|
||||
<label id="auto-join-label" class="create-only custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
|
||||
<span class="custom-switch-description"><%= t("modal.create_room.auto_join") %></span>
|
||||
<%= f.check_box :auto_join, class: "custom-switch-input", checked: false %>
|
||||
|
Reference in New Issue
Block a user