]> git.parisson.com Git - teleforma.git/commitdiff
hide download button
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 12 Jul 2024 08:43:34 +0000 (10:43 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 12 Jul 2024 08:43:34 +0000 (10:43 +0200)
teleforma/templates/teleforma/course_media.html

index 0314136e09d8c8a1b370d0f605c4aaceadb38603..356056ba58dcf8f3a65bf8cacbbfea869ec86a5b 100644 (file)
@@ -50,8 +50,8 @@ $(document).ready(function(){
 
 {% endblock extra_javascript %}
 
+{% comment %}
 {% block module-action %}
-{% if value_from_settings TELFORMA_MEDIA_DOWNLOAD %}
     {% if media.file and media.conference.status == 3 or user.is_superuser or user.is_staff %}
         {% if not "video" in media.mime_type or request.user_agent.os.family == 'iOS' %}
             <div class="module_action">
@@ -59,8 +59,8 @@ $(document).ready(function(){
             </div>
         {% endif %}
     {% endif %}
-{% endif %}
 {% endblock module-action %}
+{% endcomment %}
 
 {% block course %}
 <div class="course_media">