From: Radek Czajka Date: Fri, 5 Jun 2020 12:02:01 +0000 (+0200) Subject: Disable youtube publish button when in volume. X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/7a728f387a0969d0ca4cfc7b7877bf4fa255eef9?hp=73594a90ce59bbbe51faa4c0263f3e8ccedde27b Disable youtube publish button when in volume. --- diff --git a/src/archive/templates/archive/file_managed.html b/src/archive/templates/archive/file_managed.html index 61eaca4..f08f951 100644 --- a/src/archive/templates/archive/file_managed.html +++ b/src/archive/templates/archive/file_managed.html @@ -73,6 +73,7 @@ {% endif %}
+ {% if audiobook.is_youtube_publishable %}

{% trans "Preview YouTube metadata" %} @@ -83,6 +84,7 @@
+ {% endif %} {% if audiobook.youtube_id %}

{% csrf_token %}