richie 3.0.1.dev3__py2.py3-none-any.whl → 3.0.1.dev4__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of richie might be problematic. Click here for more details.

@@ -17,7 +17,7 @@ on the browser and external video platform implementations.
17
17
  {# show iframe if embed_link is provided #}
18
18
  <div class="aspect-ratio">
19
19
  {% if RICHIE_VIDEO_PLUGIN_LAZY_LOADING %}
20
- <a class="video-player-image" onclick="this.style.display='none'; this.nextSibling.style.display='block'; this.nextSibling.src=this.nextSibling.getAttribute('data-src');" href="javascript:void(0)">
20
+ <a class="video-player-image" onclick="this.style.display='none'; this.parentNode.getElementsByTagName('iframe')[0].style.display='block'; this.parentNode.getElementsByTagName('iframe')[0].src=this.parentNode.getElementsByTagName('iframe')[0].getAttribute('data-src');" href="javascript:void(0)">
21
21
  {% if instance.poster %}
22
22
  <img
23
23
  src='{% thumbnail instance.poster.url 300x170 replace_alpha='#FFFFFF' crop upscale subject_location=instance.poster.subject_location %}'
@@ -31,6 +31,9 @@ on the browser and external video platform implementations.
31
31
  />
32
32
  {% else %}
33
33
  {% placeholder_as_plugins "course_cover" as cover_plugins %}
34
+ {% if cover_plugins|length == 0 %}
35
+ {% placeholder_as_plugins "program_cover" as cover_plugins %}
36
+ {% endif %}
34
37
  {% blockplugin cover_plugins.0 %}
35
38
  <img
36
39
  src='{% thumbnail instance.picture 300x170 replace_alpha='#FFFFFF' crop upscale subject_location=instance.picture.subject_location %}'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: richie
3
- Version: 3.0.1.dev3
3
+ Version: 3.0.1.dev4
4
4
  Summary: A CMS to build learning portals for open education
5
5
  Author-email: "Open FUN (France Université Numérique)" <fun.dev@fun-mooc.fr>
6
6
  License: MIT License
@@ -897,7 +897,7 @@ richie/apps/core/static/richie/images/prototypes/135x135.png,sha256=RJuHKvJoY0t9
897
897
  richie/apps/core/static/richie/images/prototypes/330x200.png,sha256=fTopQ2m0AgnCQDfMcbfW8QBmX8RWJPoVOAkKR7DLw30,1746
898
898
  richie/apps/core/templates/cms/plugins/text.html,sha256=boscg7c3CRUMvtc1vN83MqC8jOqKFBaCo8cPnWnZ-aQ,57
899
899
  richie/apps/core/templates/djangocms_link/button-caesura/link.html,sha256=PSma1TT1Lpg0T3OdL1RPKc7HlYJ6dTm6836SrFXmBNE,460
900
- richie/apps/core/templates/djangocms_video/default/video_player.html,sha256=zGnSbIBMMIoQudh8PCOzyuSoYS7sVP58Ftl0Z2xX5gw,5276
900
+ richie/apps/core/templates/djangocms_video/default/video_player.html,sha256=pK9Ddn0u8wnqV0ew31-p74Od4Qs7HnZCY_yQ2f0icek,5548
901
901
  richie/apps/core/templates/djangocms_video/full-width/video_player.html,sha256=X6SPaxKGHKwVDoP6H9AGS9Sl-NmKIjKhUUYP7THU9n0,123
902
902
  richie/apps/core/templates/menu/breadcrumb_item.html,sha256=dRSuDI12o85cPsSseuzgUbkEIvxG9nz14jelFIODvtw,285
903
903
  richie/apps/core/templates/menu/breadcrumbs.html,sha256=tvKDobvDogY-B5SPsF0pgEVNa2D6lVOAIf5rKUbkXvM,300
@@ -2483,9 +2483,9 @@ richie/static/richie/js/build/99870.aaea7dc8ccbfbbde731b.index.js,sha256=cpTLUxk
2483
2483
  richie/static/richie/js/build/99895.aaea7dc8ccbfbbde731b.index.js,sha256=ulau6gBdM9fUp02EkaqHqLq74-JKi17lbC5oxfJsgqc,2570
2484
2484
  richie/static/richie/js/build/99953.aaea7dc8ccbfbbde731b.index.js,sha256=OWoLPJnHrmvF3HBQPgXooAGo5E0yJpJ7QTFHFghJpI8,135
2485
2485
  richie/static/richie/js/build/index.js,sha256=4aDGpVam3g1Cluu5vY74Rtk2d6kftkP7CZgSiq8jmMw,1332827
2486
- richie-3.0.1.dev3.dist-info/licenses/LICENSE,sha256=5LKjFIE1kpKzBfR2iwq_RGHhHM5XawdlfZrcHTsCLpA,1079
2487
- richie-3.0.1.dev3.dist-info/METADATA,sha256=VjNd-syvSa3xnDCFuHtYnoqf1WI8wxyTj1Rcl9JQPZg,7030
2488
- richie-3.0.1.dev3.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
2489
- richie-3.0.1.dev3.dist-info/top_level.txt,sha256=WJvFAAHtUQ5T5MOuG6jRynDJG9kVfl4jtuf1qxIXND8,16
2490
- richie-3.0.1.dev3.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2491
- richie-3.0.1.dev3.dist-info/RECORD,,
2486
+ richie-3.0.1.dev4.dist-info/licenses/LICENSE,sha256=5LKjFIE1kpKzBfR2iwq_RGHhHM5XawdlfZrcHTsCLpA,1079
2487
+ richie-3.0.1.dev4.dist-info/METADATA,sha256=bA9GoCvo_DEs5RET9VydqzdtHlEect1jR1Mof4-co5s,7030
2488
+ richie-3.0.1.dev4.dist-info/WHEEL,sha256=XAkygS4h1cf0JYWV13kJhTWht2y9NqKAsZuiTHc2920,109
2489
+ richie-3.0.1.dev4.dist-info/top_level.txt,sha256=WJvFAAHtUQ5T5MOuG6jRynDJG9kVfl4jtuf1qxIXND8,16
2490
+ richie-3.0.1.dev4.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2491
+ richie-3.0.1.dev4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any