From: Radek Czajka Date: Tue, 11 May 2010 13:10:32 +0000 (+0200) Subject: Show director only if present. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/07110fd5ae7c89129b534115a136aaf239ab03fc?hp=-c Show director only if present. --- 07110fd5ae7c89129b534115a136aaf239ab03fc diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 03b46bc7b..f4363539f 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -43,7 +43,9 @@

{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}

-

{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}

+ {% if book.get_extra_info_value.director_name %} +

{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}

+ {% endif %}
{% endif %} {% if book.mp3_file %}{% trans "Download MP3" %}{% endif %}