From 4b30f22b30f3526f674a92757fa75cddd73891a9 Mon Sep 17 00:00:00 2001 From: Olivier Bado Date: Wed, 17 May 2023 15:21:30 +0200 Subject: [PATCH 01/63] Remove the trailing slash on html single elements to remove a W3C warning (
, etc...) "Trailing slash on void elements has no effect and interacts badly with unquoted attribute values." --- .../templates/userpicture/userpicture.html | 4 +- pod/bbb/templates/bbb/list_meeting.html | 8 +-- pod/bbb/templates/bbb/live_card.html | 2 +- pod/bbb/templates/bbb/live_list_meeting.html | 8 +-- .../templates/bbb/live_publish_meeting.html | 6 +-- pod/bbb/templates/bbb/publish_meeting.html | 2 +- pod/chapter/static/js/chapters.js | 2 +- .../templates/chapter/form_chapter.html | 20 +++---- .../templates/chapter/list_chapter.html | 12 ++--- pod/chapter/templates/video_chapter.html | 6 +-- pod/completion/static/js/caption_maker.js | 2 +- .../contributor/form_contributor.html | 10 ++-- .../contributor/list_contributor.html | 12 ++--- .../templates/document/form_document.html | 10 ++-- .../templates/document/list_document.html | 12 ++--- .../templates/overlay/form_overlay.html | 10 ++-- .../templates/overlay/list_overlay.html | 12 ++--- .../templates/track/form_track.html | 10 ++-- .../templates/track/list_track.html | 24 ++++----- .../templates/video_caption_maker.html | 14 ++--- .../templates/video_completion.html | 22 ++++---- pod/cut/templates/video_cut.html | 4 +- .../templates/enrichment/edit_enrichment.html | 10 ++-- .../templates/enrichment/form_enrichment.html | 8 +-- .../enrichment/group_enrichment.html | 2 +- .../templates/enrichment/list_enrichment.html | 14 ++--- .../enrichment/video_enrichment.html | 8 +-- .../templates/favorite/favorite_videos.html | 14 ++--- pod/live/admin.py | 2 +- pod/live/templates/live/direct.html | 2 +- pod/live/templates/live/directs.html | 2 +- pod/live/templates/live/event-info.html | 20 +++---- pod/live/templates/live/event_card.html | 2 +- pod/live/templates/live/event_delete.html | 2 +- pod/live/templates/live/event_edit.html | 8 +-- .../templates/live/event_immediate_edit.html | 2 +- pod/live/templates/live/events.html | 2 +- pod/live/templates/live/filter_aside.html | 2 +- pod/live/templates/live/my_events.html | 2 +- pod/live/utils.py | 2 +- pod/live/views.py | 2 +- .../templates/lti_provider/assignment.html | 8 +-- .../commands/createconfiguration.py | 4 +- pod/main/static/js/main.js | 4 +- pod/main/templates/base.html | 18 +++---- pod/main/templates/contact_us.html | 2 +- pod/main/templates/flatpages/default.html | 14 ++--- pod/main/templates/navbar.html | 10 ++-- pod/main/templates/navbar_collapse.html | 2 +- pod/main/views.py | 4 +- .../templates/meeting/add_or_edit.html | 10 ++-- .../templates/meeting/meeting_card.html | 6 +-- .../templates/meeting/my_meetings.html | 2 +- pod/meeting/templates/meeting/recordings.html | 14 ++--- pod/meeting/views.py | 10 ++-- pod/playlist/static/js/playlist_player.js | 4 +- pod/playlist/templates/playlist.html | 8 +-- .../templates/playlist_player-iframe.html | 4 +- pod/podfile/static/podfile/js/filewidget.js | 26 ++++----- .../templates/podfile/customfilewidget.html | 4 +- .../templates/podfile/home_content.html | 12 ++--- .../templates/recorder/record_delete.html | 2 +- pod/recorder/views.py | 4 +- .../commands/check_obsolete_videos.py | 18 +++---- pod/video/management/commands/recorder.py | 48 ++++++++--------- pod/video/models.py | 4 +- pod/video/templates/channel/channel.html | 28 +++++----- pod/video/templates/channel/channel_edit.html | 4 +- pod/video/templates/channel/form_theme.html | 14 ++--- pod/video/templates/channel/list_theme.html | 12 ++--- pod/video/templates/channel/theme_edit.html | 10 ++-- pod/video/templates/videos/add_video.html | 4 +- .../templates/videos/change_video_owner.html | 12 ++--- pod/video/templates/videos/filter_aside.html | 4 +- pod/video/templates/videos/link_video.html | 4 +- pod/video/templates/videos/video-header.html | 6 +-- pod/video/templates/videos/video-iframe.html | 8 +-- pod/video/templates/videos/video-info.html | 30 +++++------ pod/video/templates/videos/video.html | 28 +++++----- .../templates/videos/video_collaborate.html | 4 +- pod/video/templates/videos/video_delete.html | 2 +- pod/video/templates/videos/video_edit.html | 8 +-- .../videos/video_note_comments_display.html | 54 +++++++++---------- .../templates/videos/video_note_display.html | 24 ++++----- pod/video/templates/videos/video_notes.html | 16 +++--- pod/video/templates/videos/videos.html | 14 ++--- pod/video/tests/test_stats_view.py | 12 ++--- pod/video/utils.py | 8 +-- pod/video_search/templates/search/search.html | 14 ++--- 89 files changed, 437 insertions(+), 443 deletions(-) diff --git a/pod/authentication/templates/userpicture/userpicture.html b/pod/authentication/templates/userpicture/userpicture.html index b80ff98484..b04ac623d3 100644 --- a/pod/authentication/templates/userpicture/userpicture.html +++ b/pod/authentication/templates/userpicture/userpicture.html @@ -40,10 +40,10 @@

{% trans "No record found"%}

{% trans 'There are no BigBlueButton records.'%}

{% else %}

{% blocktrans count counter=records.paginator.count %}{{ counter }} record found{% plural %}{{ counter }} records found{% endblocktrans %}

- {% trans "This is the list of the recorded BigBlueButton sessions for which you were moderator. This module allows you to create a video from a BigBlueButton presentation." %}
- {% trans "Shortly after the presentation is published, the corresponding video will appear in your videos." %}
+ {% trans "This is the list of the recorded BigBlueButton sessions for which you were moderator. This module allows you to create a video from a BigBlueButton presentation." %}
+ {% trans "Shortly after the presentation is published, the corresponding video will appear in your videos." %}
{% trans "Please note: a BigBlueButton presentation can be encoded by another moderator." %} {% trans "If such a case occurs, this information will be displayed directly in the list. You can then contact this user directly to ask him/her to share the video with you, or even to put you as additional owner of the video." %} -
+
{% include "bbb/record_list.html" %} {% endif %} diff --git a/pod/bbb/templates/bbb/live_card.html b/pod/bbb/templates/bbb/live_card.html index 7d116eabb9..f0bc97ed0a 100644 --- a/pod/bbb/templates/bbb/live_card.html +++ b/pod/bbb/templates/bbb/live_card.html @@ -11,7 +11,7 @@
{% if not record.live %} -
+
{% if not max_limit_reached %} {% trans "Perform a BigBlueButton live"%} diff --git a/pod/bbb/templates/bbb/live_list_meeting.html b/pod/bbb/templates/bbb/live_list_meeting.html index f419ec912e..3e7e8c9488 100644 --- a/pod/bbb/templates/bbb/live_list_meeting.html +++ b/pod/bbb/templates/bbb/live_list_meeting.html @@ -3,7 +3,7 @@ {% load static %} {% block page_extra_head %} - + @@ -26,9 +26,9 @@

{% blocktrans count counter=records.paginator.count %}{{ counter }} BigBlueB {% endif %} {% trans "This is the list of current BigBlueButton sessions for which you are moderator. This module allows you to make a live stream from this BigBlueButton session (useful if there are more than 100 users)." %} - {% trans "Remember to not use breakout rooms in this case and end the meeting once it is over." %}
- {% trans 'Shortly after clicking the "Perform a BigBlueButton live" button, and select the desired options, the live stream will be available to users on the Lives page.' %}
-
+ {% trans "Remember to not use breakout rooms in this case and end the meeting once it is over." %}
+ {% trans 'Shortly after clicking the "Perform a BigBlueButton live" button, and select the desired options, the live stream will be available to users on the Lives page.' %}
+
{% if records.paginator.count == 0 %}

{% trans 'There are no BigBlueButton sessions in progress.'%}

diff --git a/pod/bbb/templates/bbb/live_publish_meeting.html b/pod/bbb/templates/bbb/live_publish_meeting.html index dc8389391a..614a29f32f 100644 --- a/pod/bbb/templates/bbb/live_publish_meeting.html +++ b/pod/bbb/templates/bbb/live_publish_meeting.html @@ -36,7 +36,7 @@

{% trans "Are you sure you want to perform a BigBlueButton live?" %}

{% csrf_token %}
- {% trans 'Select the desired options than validate this form by clicking "Perform a BigBlueButton live".' %}
+ {% trans 'Select the desired options than validate this form by clicking "Perform a BigBlueButton live".' %}

{% trans "This live will be stopped automatically when BigBlueButton session ends." %}

@@ -77,7 +77,7 @@

{% trans "Are you sure you want to perform a BigBlueButton live?" %}

{% endspaceless %} {% endfor %} - {% trans 'Please note: shortly after clicking the "Perform a BigBlueButton live" button, the live stream will be available to users on the Lives page.' %}
+ {% trans 'Please note: shortly after clicking the "Perform a BigBlueButton live" button, the live stream will be available to users on the Lives page.' %}
@@ -86,11 +86,9 @@

{% trans "Are you sure you want to perform a BigBlueButton live?" %}

{% endblock page_content %} {% block collapse_page_aside %} - {% endblock collapse_page_aside %} {% block page_aside %} - {% endblock page_aside %} {% block more_script %} diff --git a/pod/bbb/templates/bbb/publish_meeting.html b/pod/bbb/templates/bbb/publish_meeting.html index 87a2992fab..65f4c8627f 100644 --- a/pod/bbb/templates/bbb/publish_meeting.html +++ b/pod/bbb/templates/bbb/publish_meeting.html @@ -69,7 +69,7 @@

{% trans "Are you sure you want to publish this BigBlueButton presentation?" {% endspaceless %} {% endfor %} - {% trans "A video will be created from the BigBlueButton presentation and will be available on this platform." %}
+ {% trans "A video will be created from the BigBlueButton presentation and will be available on this platform." %}
{% trans "Please note: this treatment can take a long time. You will receive an email when this treatment is completed." %}

diff --git a/pod/chapter/static/js/chapters.js b/pod/chapter/static/js/chapters.js index 305c0a1112..75a97e813f 100644 --- a/pod/chapter/static/js/chapters.js +++ b/pod/chapter/static/js/chapters.js @@ -274,7 +274,7 @@ function overlaptest() { li.getAttribute("data-title") + '" ' + gettext("starts at the same time."); - msg += "
" + text; + msg += "
" + text; } }); return msg; diff --git a/pod/chapter/templates/chapter/form_chapter.html b/pod/chapter/templates/chapter/form_chapter.html index 0e07964cfc..978c25f37e 100644 --- a/pod/chapter/templates/chapter/form_chapter.html +++ b/pod/chapter/templates/chapter/form_chapter.html @@ -10,9 +10,9 @@

{% trans 'Create / Edit chapters' %}

{% csrf_token %}
{% if form_chapter.errors or form_chapter.non_field_errors %} - {% trans 'One or more errors have been found in the form:' %}
+ {% trans 'One or more errors have been found in the form:' %}
{% for error in form_chapter.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %} {% endif %} {% for field_hidden in form_chapter.hidden_fields %} @@ -25,12 +25,12 @@

{% trans 'Create / Edit chapters' %}

{% endfor %} {% if form_chapter.instance %} - + {% endif %} - +
- - + +
@@ -43,9 +43,9 @@

{% trans 'Import chapters' %}

{% csrf_token %}
{% if form_import.errors or form_import.non_field_errors %} - {% trans 'One or more errors have been found in the form:' %}
+ {% trans 'One or more errors have been found in the form:' %}
{% for error in form_import.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %} {% endif %} {% for field_hidden in form_import.hidden_fields %} @@ -62,10 +62,10 @@

{% trans 'Import chapters' %}

{% endfor %} {% endfor %} - + {% trans 'The file must be in VTT format.' %}
- +
diff --git a/pod/chapter/templates/chapter/list_chapter.html b/pod/chapter/templates/chapter/list_chapter.html index 873d2fb547..9f319ad3ae 100644 --- a/pod/chapter/templates/chapter/list_chapter.html +++ b/pod/chapter/templates/chapter/list_chapter.html @@ -22,15 +22,15 @@

{% trans 'List of chapters' %} ({
{% csrf_token %} - - - + + +
{% csrf_token %} - - - + + +
diff --git a/pod/chapter/templates/video_chapter.html b/pod/chapter/templates/video_chapter.html index 6b99317eae..8cd60f2d28 100644 --- a/pod/chapter/templates/video_chapter.html +++ b/pod/chapter/templates/video_chapter.html @@ -27,7 +27,7 @@ {% include 'videos/video-element.html' %} -
+
@@ -46,8 +46,8 @@ {% if not form_chapter %}
{% csrf_token %} - - + +
{% endif %}
diff --git a/pod/completion/static/js/caption_maker.js b/pod/completion/static/js/caption_maker.js index 454527ef47..3500845f52 100644 --- a/pod/completion/static/js/caption_maker.js +++ b/pod/completion/static/js/caption_maker.js @@ -161,7 +161,7 @@ const send_form_save_captions = function () { gettext("error during exchange") + "(" + error + - ")
" + + ")
" + gettext("no data could be stored."), "alert-danger" ); diff --git a/pod/completion/templates/contributor/form_contributor.html b/pod/completion/templates/contributor/form_contributor.html index cec75b0d52..52b73901a0 100644 --- a/pod/completion/templates/contributor/form_contributor.html +++ b/pod/completion/templates/contributor/form_contributor.html @@ -5,9 +5,9 @@ {% csrf_token %}
{% if form_contributor.errors or form_contributor.non_field_errors %} - {% trans 'Your form contains errors:' %}
+ {% trans 'Your form contains errors:' %}
{% for error in form_contributor.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %} {% endif %} {% for field_hidden in form_contributor.hidden_fields %} @@ -22,10 +22,10 @@ {% if form_contributor.instance %} {% endif %} - +
- - + +
diff --git a/pod/completion/templates/contributor/list_contributor.html b/pod/completion/templates/contributor/list_contributor.html index 91206dde0f..d05172f978 100644 --- a/pod/completion/templates/contributor/list_contributor.html +++ b/pod/completion/templates/contributor/list_contributor.html @@ -24,15 +24,15 @@

{% trans 'List of contributors' %} (
{% csrf_token %} - - - + + +
{% csrf_token %} - - - + + +
diff --git a/pod/completion/templates/document/form_document.html b/pod/completion/templates/document/form_document.html index 319e38ac46..8016c0fbff 100644 --- a/pod/completion/templates/document/form_document.html +++ b/pod/completion/templates/document/form_document.html @@ -6,9 +6,9 @@ {% csrf_token %}
{% if form_document.errors or form_document.non_field_errors %} - {% trans 'Your form contains errors:' %}
+ {% trans 'Your form contains errors:' %}
{% for error in form_document.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %} {% endif %} {% for field_hidden in form_document.hidden_fields %} @@ -20,10 +20,10 @@
{{field}}
{% endfor %} - +
- - + +

diff --git a/pod/completion/templates/document/list_document.html b/pod/completion/templates/document/list_document.html index db57d9af52..8f358c55d4 100644 --- a/pod/completion/templates/document/list_document.html +++ b/pod/completion/templates/document/list_document.html @@ -18,15 +18,15 @@

{% trans 'List of additional resources' %
{% csrf_token %} - - - + + +
{% csrf_token %} - - - + + +
diff --git a/pod/completion/templates/overlay/form_overlay.html b/pod/completion/templates/overlay/form_overlay.html index 1e51a207f6..bf7109db38 100644 --- a/pod/completion/templates/overlay/form_overlay.html +++ b/pod/completion/templates/overlay/form_overlay.html @@ -6,9 +6,9 @@
{% if form_overlay.errors or form_overlay.non_field_errors %}
- {% trans 'Your form contains errors:' %}
+ {% trans 'Your form contains errors:' %}
{% for error in form_overlay.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %}
{% endif %} @@ -24,9 +24,9 @@ {% if form_overlay.instance %} {% endif %} - - - + + +

diff --git a/pod/completion/templates/overlay/list_overlay.html b/pod/completion/templates/overlay/list_overlay.html index a5f2652261..7224481e07 100644 --- a/pod/completion/templates/overlay/list_overlay.html +++ b/pod/completion/templates/overlay/list_overlay.html @@ -24,15 +24,15 @@

{% trans 'List of overlays' %} ({{li
{% csrf_token %} - - - + + +
{% csrf_token %} - - - + + +
diff --git a/pod/completion/templates/track/form_track.html b/pod/completion/templates/track/form_track.html index 96ccfbd451..6c5b5e35c7 100644 --- a/pod/completion/templates/track/form_track.html +++ b/pod/completion/templates/track/form_track.html @@ -6,9 +6,9 @@ {% csrf_token %}
{% if form_track.errors or form_track.non_field_errors %} - {% trans 'Your form contains errors:' %}
+ {% trans 'Your form contains errors:' %}
{% for error in form_track.non_field_errors %} - - {{error}}
+ - {{error}}
{% endfor %} {% endif %} {% for field_hidden in form_track.hidden_fields %} @@ -23,9 +23,9 @@ {% if form_track.instance %} {% endif %} - - - + + +
{{form_track.media}} diff --git a/pod/completion/templates/track/list_track.html b/pod/completion/templates/track/list_track.html index 94f62f1720..0042119bdc 100644 --- a/pod/completion/templates/track/list_track.html +++ b/pod/completion/templates/track/list_track.html @@ -16,16 +16,16 @@

{% trans 'List of subtitle or caption fil
{% csrf_token %} - - - + + +
{% trans 'Modify' %}
{% csrf_token %} - - - + + +
- {% if active_model_enrich %} {% trans 'Enrich Model' %} {% endif %} + {% if active_model_enrich %} {% trans 'Enrich Model' %} {% endif %}
diff --git a/pod/completion/templates/video_completion.html b/pod/completion/templates/video_completion.html index 9f8a939186..73304d9f92 100644 --- a/pod/completion/templates/video_completion.html +++ b/pod/completion/templates/video_completion.html @@ -6,7 +6,7 @@ {% block page_extra_head %} - + {% endblock page_extra_head %} {% block breadcrumbs %} @@ -41,8 +41,8 @@
{% csrf_token %} - - + +
  @@ -66,8 +66,8 @@
{% csrf_token %} - - + + {% trans 'The file must be in VTT format.' %}
@@ -90,8 +90,8 @@
{% csrf_token %} - - + +
  @@ -112,8 +112,8 @@
{% csrf_token %} - - + +
  @@ -154,10 +154,10 @@

{% trans "Help"%}

{% trans 'You will need the URL of this video to make subtitles and/or captions. This URL is a direct access to this video. Please do not communicate it outside of this site to avoid any misuse.' %}

diff --git a/pod/cut/templates/video_cut.html b/pod/cut/templates/video_cut.html index cdb59c2987..22abace6be 100644 --- a/pod/cut/templates/video_cut.html +++ b/pod/cut/templates/video_cut.html @@ -22,7 +22,7 @@ - @@ -67,7 +67,7 @@  {% trans 'Reset' %} -
+
diff --git a/pod/enrichment/templates/enrichment/edit_enrichment.html b/pod/enrichment/templates/enrichment/edit_enrichment.html index b2411b8898..85ad9c56f9 100644 --- a/pod/enrichment/templates/enrichment/edit_enrichment.html +++ b/pod/enrichment/templates/enrichment/edit_enrichment.html @@ -4,7 +4,7 @@ +> - + {{form.media}} {% endblock more_script %} diff --git a/pod/enrichment/templates/enrichment/list_enrichment.html b/pod/enrichment/templates/enrichment/list_enrichment.html index 6194c0a9d0..185d7c1ca2 100644 --- a/pod/enrichment/templates/enrichment/list_enrichment.html +++ b/pod/enrichment/templates/enrichment/list_enrichment.html @@ -24,19 +24,19 @@

{% trans 'List of the enrichments' %}&nbs
{% csrf_token %} - - - + + +
{% csrf_token %} - - - + + +
{% endfor %} -

\ No newline at end of file +
diff --git a/pod/enrichment/templates/enrichment/video_enrichment.html b/pod/enrichment/templates/enrichment/video_enrichment.html index e962e9873a..8ac576c6ed 100644 --- a/pod/enrichment/templates/enrichment/video_enrichment.html +++ b/pod/enrichment/templates/enrichment/video_enrichment.html @@ -6,8 +6,8 @@ {% block opengraph %} {% if OEMBED %} - - + + {% endif %} @@ -16,8 +16,8 @@ - - + + diff --git a/pod/favorite/templates/favorite/favorite_videos.html b/pod/favorite/templates/favorite/favorite_videos.html index 0b10990d48..6768184c48 100644 --- a/pod/favorite/templates/favorite/favorite_videos.html +++ b/pod/favorite/templates/favorite/favorite_videos.html @@ -3,14 +3,14 @@ {% load static %} {% block opengraph %}{% load video_filters %} - + - - - - - - + + + + + + {% endblock %} {% block page_extra_head %} diff --git a/pod/live/admin.py b/pod/live/admin.py index 5d33680b98..2f6f8682a2 100644 --- a/pod/live/admin.py +++ b/pod/live/admin.py @@ -221,7 +221,7 @@ def get_thumbnail_admin(self, instance): thumbnail_url = static(DEFAULT_EVENT_THUMBNAIL) return format_html( '%s' + 'src="%s" alt="%s" loading="lazy">' % ( thumbnail_url, instance.title.replace("{", "").replace("}", "").replace('"', "'"), diff --git a/pod/live/templates/live/direct.html b/pod/live/templates/live/direct.html index 0088caace6..82e8158d60 100644 --- a/pod/live/templates/live/direct.html +++ b/pod/live/templates/live/direct.html @@ -119,7 +119,7 @@

{% trans 'Headband' %} {{ broadcaster.building.name }} + loading="lazy">

{% endif %} {% for otherbroadcaster in broadcaster.building.broadcaster_set.all %} diff --git a/pod/live/templates/live/directs.html b/pod/live/templates/live/directs.html index c55f4c6308..177f0b4de8 100644 --- a/pod/live/templates/live/directs.html +++ b/pod/live/templates/live/directs.html @@ -17,7 +17,7 @@ {% block page_content %}

 {{building.name}}

{% if building.headband %} -{{building.name}} +{{building.name}} {% endif %}
diff --git a/pod/live/templates/live/event-info.html b/pod/live/templates/live/event-info.html index c08d893b23..581885a125 100644 --- a/pod/live/templates/live/event-info.html +++ b/pod/live/templates/live/event-info.html @@ -7,7 +7,7 @@ {% if event.description %}

 {% trans 'Summary' %}

-
+

{{ event.description|safe }}

{% endif %} @@ -20,7 +20,7 @@

 {% trans 'Summary' %} - +
  • {% trans 'Broadcasted on:' %}

    @@ -70,7 +70,7 @@
-
+
{% endif %}
 {% trans 'Share the link' %}
- +
-

- - - + + + + {% endif %} diff --git a/pod/live/templates/live/event_card.html b/pod/live/templates/live/event_card.html index 969cdb94fa..d9fa4ed7f3 100644 --- a/pod/live/templates/live/event_card.html +++ b/pod/live/templates/live/event_card.html @@ -68,7 +68,7 @@ {% blocktrans with start_date=event.start_date end_date=event.end_date %}from {{start_date}} to {{end_date}}{% endblocktrans %} {% endif %} {% if display_broadcaster_name %} -
{{event.broadcaster.name|capfirst|truncatechars:20}} +
{{event.broadcaster.name|capfirst|truncatechars:20}} {% endif %}

diff --git a/pod/live/templates/live/event_delete.html b/pod/live/templates/live/event_delete.html index 5897d13b32..c3b180bd21 100644 --- a/pod/live/templates/live/event_delete.html +++ b/pod/live/templates/live/event_delete.html @@ -53,7 +53,7 @@

{% blocktrans with vtitle=event.title %}Deleting the event "{{ vtitle }}"{% {% else %} {% if "form-control-file" in field.field.widget.attrs.class and form.instance.event %} -
{% endif %} +
{% endif %} {{ field }} {% endif %} {% if field.help_text %} diff --git a/pod/live/templates/live/event_edit.html b/pod/live/templates/live/event_edit.html index 5d117bb444..2877239528 100644 --- a/pod/live/templates/live/event_edit.html +++ b/pod/live/templates/live/event_edit.html @@ -3,7 +3,7 @@ {% load static %} {% block more_style %} - + {% endblock %} diff --git a/pod/live/templates/live/events.html b/pod/live/templates/live/events.html index d20a8286c5..3cf8eab40e 100644 --- a/pod/live/templates/live/events.html +++ b/pod/live/templates/live/events.html @@ -3,7 +3,7 @@ {% load static %} {% block more_style %} - + {% endblock more_style %} {% block breadcrumbs %}{{ block.super }} {% endblock %} diff --git a/pod/live/templates/live/filter_aside.html b/pod/live/templates/live/filter_aside.html index 25ad77887e..32961dd469 100644 --- a/pod/live/templates/live/filter_aside.html +++ b/pod/live/templates/live/filter_aside.html @@ -26,7 +26,7 @@

{% if type.icon %} {{ type.title }} + loading="lazy"> {% else %} {% endif %} diff --git a/pod/live/templates/live/my_events.html b/pod/live/templates/live/my_events.html index f21709a5b1..cfb422a856 100644 --- a/pod/live/templates/live/my_events.html +++ b/pod/live/templates/live/my_events.html @@ -3,7 +3,7 @@ {% load static %} {% block more_style %} - + {% endblock more_style %} {% block breadcrumbs %}{{ block.super }} diff --git a/pod/live/utils.py b/pod/live/utils.py index b1f37afd6f..3ee1775e15 100644 --- a/pod/live/utils.py +++ b/pod/live/utils.py @@ -138,7 +138,7 @@ def send_establishment(event, subject, message, from_email, to_email, html_messa def send_managers(owner, subject, full_message, fail, html_message): - full_html_message = html_message + "
%s%s" % ( + full_html_message = html_message + "
%s%s" % ( _("Post by:"), owner, ) diff --git a/pod/live/views.py b/pod/live/views.py index 3776ddb50a..74a524dbb2 100644 --- a/pod/live/views.py +++ b/pod/live/views.py @@ -914,7 +914,7 @@ def event_video_transform(event_id, current_file, segment_number): video=dest_path, title=live_event.title + segment, owner=live_event.owner, - description=live_event.description + "
" + adding_description, + description=live_event.description + "
" + adding_description, is_draft=live_event.is_draft, type=live_event.type, ) diff --git a/pod/lti/templates/lti_provider/assignment.html b/pod/lti/templates/lti_provider/assignment.html index c7d56d795a..0748a698bd 100644 --- a/pod/lti/templates/lti_provider/assignment.html +++ b/pod/lti/templates/lti_provider/assignment.html @@ -43,15 +43,15 @@

Logged In

{{course_title}}

Assignment #{{number}}

video: {{iframe_url}}

-
+
{% if not is_student %}

Instructors cannot submit an assignment

{% else %}
- - - + + +
{% endif %} diff --git a/pod/main/management/commands/createconfiguration.py b/pod/main/management/commands/createconfiguration.py index 224fdbb584..b92a028814 100644 --- a/pod/main/management/commands/createconfiguration.py +++ b/pod/main/management/commands/createconfiguration.py @@ -50,7 +50,7 @@ def get_information(self): msg += "\n## %s \n" % self.data[0]["information"]["title"][self.language] for line in self.data[0]["information"]["description"][self.language]: if line != "": - msg += "\n%s
" % line + msg += "\n%s
" % line else: msg += "\n" msg += self.get_settings(self.data[0]["information"]["settings"]) @@ -66,7 +66,7 @@ def get_configuration(self, app): msg += "\n\n### %s" % desc["title"][self.language] for line in desc["description"].get(self.language, []): if line != "": - msg += "\n%s
" % line + msg += "\n%s
" % line else: msg += "\n" msg += self.get_settings(desc["settings"]) diff --git a/pod/main/static/js/main.js b/pod/main/static/js/main.js index dccbbc4e77..a8c6027eca 100644 --- a/pod/main/static/js/main.js +++ b/pod/main/static/js/main.js @@ -724,7 +724,7 @@ var send_form_data = async function ( gettext("Error during exchange") + "(" + error + - ")
" + + ")
" + gettext("No data could be stored."), "alert-danger" ); @@ -786,7 +786,7 @@ var send_form_data_vanilla = function ( gettext("Error during exchange") + " (" + err + - ")
" + + ")
" + gettext("No data could be stored."), "alert-danger" ); diff --git a/pod/main/templates/base.html b/pod/main/templates/base.html index d668fb805e..9b5a05488f 100644 --- a/pod/main/templates/base.html +++ b/pod/main/templates/base.html @@ -5,17 +5,17 @@ {% spaceless %} - + {% block opengraph %} - - - - - - + + + + + + {% endblock %} {% if FAVICON %} @@ -35,7 +35,7 @@ {% endif %} {% if SHOW_EVENTS_ON_HOMEPAGE and "live" in THIRD_PARTY_APPS %} - + {% endif %} {% block more_style %} @@ -142,7 +142,7 @@

{{page_title|capfirst}}