diff --git a/pod/chapter/templates/video_chapter.html b/pod/chapter/templates/video_chapter.html index 55afdb495e..749a16aabe 100644 --- a/pod/chapter/templates/video_chapter.html +++ b/pod/chapter/templates/video_chapter.html @@ -38,7 +38,7 @@ {% endif %} - +  {% trans "Back to the video"%} diff --git a/pod/cut/templates/video_cut.html b/pod/cut/templates/video_cut.html index 2db041b33f..8f2c9fb079 100644 --- a/pod/cut/templates/video_cut.html +++ b/pod/cut/templates/video_cut.html @@ -78,8 +78,10 @@
- - + +  {% trans 'Back to the video' %} diff --git a/pod/import_video/templates/import_video/add_or_edit.html b/pod/import_video/templates/import_video/add_or_edit.html index a6592ca5b7..36dc5e9985 100644 --- a/pod/import_video/templates/import_video/add_or_edit.html +++ b/pod/import_video/templates/import_video/add_or_edit.html @@ -239,12 +239,14 @@

{% trans "Terms of Service parents[parents.length-1].style.display = 'none'; } }; -window.addEventListener('load', function(event) { - is_restricted_elt = document.getElementById("id_is_restricted"); - is_restricted_elt.addEventListener('clicked',function (event) { +is_restricted_elt = document.getElementById("id_is_restricted"); +if (is_restricted_elt !== null) { + window.addEventListener('load', function(event) { + is_restricted_elt.addEventListener('clicked',function (event) { + restrict_access_to_groups(); + }); restrict_access_to_groups(); }); - restrict_access_to_groups(); -}); +} {% endblock more_script %} diff --git a/pod/live/templates/live/event-info.html b/pod/live/templates/live/event-info.html index 19cb538e25..484319f8c3 100644 --- a/pod/live/templates/live/event-info.html +++ b/pod/live/templates/live/event-info.html @@ -91,19 +91,19 @@