From 07110fd5ae7c89129b534115a136aaf239ab03fc Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 11 May 2010 15:10:32 +0200 Subject: [PATCH 1/1] Show director only if present. --- wolnelektury/templates/catalogue/book_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 %} -- 2.20.1