forked from External/greenlight
Fixed issue with visibility redirected and changed the 'no recordings' string for the recordings page (#361)
This commit is contained in:
committed by
Jesus Federico
parent
16def655cf
commit
9883616f9c
@ -71,4 +71,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "shared/sessions", recordings: @recordings, only_public: false %>
|
||||
<%= render "shared/sessions", recordings: @recordings, only_public: false, user_recordings: false %>
|
||||
|
@ -40,4 +40,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "shared/sessions", recordings: @room.public_recordings, only_public: true %>
|
||||
<%= render "shared/sessions", recordings: @room.public_recordings, only_public: true, user_recordings: false %>
|
||||
|
@ -50,7 +50,11 @@
|
||||
<% if recordings.empty? %>
|
||||
<tr>
|
||||
<td colspan="7" class="text-center h4 p-6 font-weight-normal">
|
||||
<%= t("recording.no_recordings", inject: only_public ? t("recording.visibility.public").downcase + " " : "") %>
|
||||
<% if user_recordings %>
|
||||
<%= t("recording.no_user_recordings") %>
|
||||
<% else %>
|
||||
<%= t("recording.no_recordings", inject: only_public ? t("recording.visibility.public").downcase + " " : "") %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<% else %>
|
||||
|
@ -18,4 +18,4 @@
|
||||
# without losing all css
|
||||
%>
|
||||
|
||||
<%= render "shared/sessions", recordings: @recordings, only_public: false %>
|
||||
<%= render "shared/sessions", recordings: @recordings, only_public: false, user_recordings: true %>
|
||||
|
Reference in New Issue
Block a user