diff --git a/app/assets/javascripts/recordings.coffee b/app/assets/javascripts/recordings.coffee index 38426681..2e9dfff3 100644 --- a/app/assets/javascripts/recordings.coffee +++ b/app/assets/javascripts/recordings.coffee @@ -13,14 +13,14 @@ class @Recordings info: false, order: [[ 0, "desc" ]], language: { - emptyTable: " " + emptyTable: I18n.no_recordings }, columns: [ { data: "start_time" }, - { data: "previews" }, + { data: "previews", orderable: false }, { data: "duration" }, - { data: "playbacks" }, - { data: "id" } + { data: "playbacks", orderable: false }, + { data: "id", orderable: false } ], columnDefs: [ { @@ -61,7 +61,7 @@ class @Recordings roomName = Meeting.getInstance().getId() published = row.published icon = getPublishClass(published) - publishText = if published then 'publish' else 'unpublish' + publishText = if published then 'unpublish' else 'publish' recordingActions = $('.hidden-elements').find('.recording-actions') recordingActions.find('.recording-update > i') .removeClass() @@ -74,6 +74,13 @@ class @Recordings } ] }) + options = { + selector: '.delete-tooltip', + container: 'body', + placement: 'bottom', + title: I18n.delete_recording + }; + $('#recordings').tooltip(options); # Gets the current instance or creates a new one @getInstance: -> diff --git a/app/assets/stylesheets/landing.scss b/app/assets/stylesheets/landing.scss index 4fbbd5b1..4aba7683 100644 --- a/app/assets/stylesheets/landing.scss +++ b/app/assets/stylesheets/landing.scss @@ -25,6 +25,9 @@ content: none; //removes the sort icon in table header } } + .dataTables_empty { + text-align: center; + } } } diff --git a/app/views/landing/rooms.html.erb b/app/views/landing/rooms.html.erb index 4effe1a6..397cfaa1 100644 --- a/app/views/landing/rooms.html.erb +++ b/app/views/landing/rooms.html.erb @@ -14,7 +14,6 @@
-

<%= t('past_recordings') %>

@@ -49,8 +48,8 @@ - + diff --git a/config/locales/en-us.yml b/config/locales/en-us.yml index cab1ce4d..bed580f8 100644 --- a/config/locales/en-us.yml +++ b/config/locales/en-us.yml @@ -24,16 +24,18 @@ en-US: are_you: Are you %{name}? client: are_you_sure: Are you sure? + delete_recording: Delete recording meeting_ended: Meeting was ended meeting_started: Meeting was started + no_recordings: No recordings publish_recording: Publish recording recording_deleted: Recording was deleted recording_published: Recording was published recording_unpublished: Recording was unpublished - unpublish_recording: Unpublish recording + unpublish_recording: Hide recording copied: Copied copy_error: Use Ctrl-c to copy - date_recorded: Date Recorded + date_recorded: Date duration: Duration end: End enter_name: Enter your name @@ -52,7 +54,6 @@ en-US: powered_bigbluebutton: Powered by BigBlueButton presentation: Presentation refresh_html: Click refresh to generate a new meeting URL - delete_recording: Delete recording session_url_explanation: The session will be taking place using the following URL start: Start start_new_session: Start a new session
<%= t('date_recorded') %>