diff --git a/app/assets/javascripts/sort.js b/app/assets/javascripts/sort.js
new file mode 100644
index 00000000..3cb637d6
--- /dev/null
+++ b/app/assets/javascripts/sort.js
@@ -0,0 +1,95 @@
+// BigBlueButton open source conferencing system - http://www.bigbluebutton.org/.
+//
+// Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below).
+//
+// This program is free software; you can redistribute it and/or modify it under the
+// terms of the GNU Lesser General Public License as published by the Free Software
+// Foundation; either version 3.0 of the License, or (at your option) any later
+// version.
+//
+// BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+// PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License along
+// with BigBlueButton; if not, see
<%= t("recording.table.name") %> | +" data-order="none"><%= t("recording.table.name") %> | <% if recording_thumbnails? %><%= t("recording.table.thumbnails") %> | <% end %> -<%= t("recording.table.length") %> | -<%= t("recording.table.users") %> | +" data-order="none"> + <%= t("recording.table.length") %> + | +" data-order="none"> + <%= t("recording.table.users") %> + | <%= t("recording.table.visibility") %> | <%= t("recording.table.formats") %> | <% unless only_public %> diff --git a/app/views/shared/components/_public_recording_row.html.erb b/app/views/shared/components/_public_recording_row.html.erb index 59b2df78..22bfbeac 100644 --- a/app/views/shared/components/_public_recording_row.html.erb +++ b/app/views/shared/components/_public_recording_row.html.erb @@ -15,7 +15,7 @@|
---|---|---|---|---|---|---|---|---|---|
-
+ |
<% end %>
- + |
<%= t("recording.table.length") %>
<%= recording_length(recording[:playbacks]) %>
|
- + |
<%= t("recording.table.users") %>
diff --git a/app/views/shared/components/_recording_row.html.erb b/app/views/shared/components/_recording_row.html.erb
index fdfa7bd0..eed8afd5 100644
--- a/app/views/shared/components/_recording_row.html.erb
+++ b/app/views/shared/components/_recording_row.html.erb
@@ -39,10 +39,10 @@
<% end %>
|
<% end %>
- + | <%= recording_length(recording[:playbacks]) %> | -+ | <%= recording[:participants] || "-" %> | diff --git a/config/routes.rb b/config/routes.rb index 0ed866b1..69b429fd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -65,6 +65,7 @@ Rails.application.routes.draw do post '/start', to: 'rooms#start', as: :start_room get '/logout', to: 'rooms#logout', as: :logout_room + # Manage recordings scope '/:record_id' do post '/', to: 'rooms#update_recording', as: :update_recording delete '/', to: 'rooms#delete_recording', as: :delete_recording |