Merge branch 'master' of http://github.com/fnp/wolnelektury
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index 6b36c95..c249fa5 100644 (file)
@@ -43,7 +43,9 @@
                 <div id="czytamy-sluchajac-info">
                     <a href="http://czytamysluchajac.pl/" id="czytamysluchajac-logo"><img src="/static/img/czytamysluchajac-logo-small.png" /></a>     
                     <p>{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}</p>
-                    <p>{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}</p>
+                                       {% if book.get_extra_info_value.director_name %}
+                        <p>{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}</p>
+                                       {% endif %}
                 </div>
             {% endif %}
             {% if book.mp3_file %}<a href="{{ book.mp3_file.url }}">{% trans "Download MP3" %}</a>{% endif %}