From: Guillaume Pellerin Date: Fri, 2 May 2025 12:50:20 +0000 (+0200) Subject: add bbb logo, fix webclass player display X-Git-Tag: 2.9.2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=60a5c3ab77aa508fdaec6a5a192a21e52c059b46;p=teleforma.git add bbb logo, fix webclass player display --- diff --git a/app/settings.py b/app/settings.py index 8b53f309..33533987 100644 --- a/app/settings.py +++ b/app/settings.py @@ -658,7 +658,7 @@ AWS_S3_ENCRYPTION=True # BBB ######################## -BBB_LOGO_URL = "/static/teleforma/images/logo_pb.png" +BBB_LOGO_URL = "/static/teleforma/images/logo_pb_2025.png" BBB_PDF_URL = "/static/teleforma/pdf/pb-blank-slide.pdf" BBB_BANNER_COLOR = "#003768" diff --git a/teleforma/static/teleforma/images/logo_pb_2025.png b/teleforma/static/teleforma/images/logo_pb_2025.png new file mode 100644 index 00000000..c7705cf2 Binary files /dev/null and b/teleforma/static/teleforma/images/logo_pb_2025.png differ diff --git a/teleforma/templatetags/teleforma_tags.py b/teleforma/templatetags/teleforma_tags.py index f34f1d64..216528ca 100644 --- a/teleforma/templatetags/teleforma_tags.py +++ b/teleforma/templatetags/teleforma_tags.py @@ -393,6 +393,11 @@ def current_year(): return datetime.datetime.now().strftime("%Y") +@register.simple_tag +def bbb_logo(): + return settings.BBB_LOGO_URL + + @register.filter def render_flatpage(content): parsed = "" diff --git a/teleforma/webclass/templates/webclass/inc/webclass_corrections_list.html b/teleforma/webclass/templates/webclass/inc/webclass_corrections_list.html index 2007a7da..245e6ecd 100644 --- a/teleforma/webclass/templates/webclass/inc/webclass_corrections_list.html +++ b/teleforma/webclass/templates/webclass/inc/webclass_corrections_list.html @@ -5,7 +5,6 @@
- {% for record in webclass_corrections_records %} {% webclass_record record %} {% endfor %} diff --git a/teleforma/webclass/templates/webclass/webclass_record.html b/teleforma/webclass/templates/webclass/webclass_record.html index 5f40c556..4654e6c0 100644 --- a/teleforma/webclass/templates/webclass/webclass_record.html +++ b/teleforma/webclass/templates/webclass/webclass_record.html @@ -1,13 +1,16 @@ +{% load teleforma_tags %} {% load i18n %}
- + {% if record.preview %} - {% trans 'Click here' %} +