From: Guillaume Pellerin Date: Fri, 12 Jul 2024 08:43:34 +0000 (+0200) Subject: hide download button X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ec4ff323f2778754c5060785c205919eeb351679;p=teleforma.git hide download button --- diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index 0314136e..356056ba 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -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' %}
@@ -59,8 +59,8 @@ $(document).ready(function(){
{% endif %} {% endif %} -{% endif %} {% endblock module-action %} +{% endcomment %} {% block course %}