opowiada/czyta
authorJan Szejko <janek37@gmail.com>
Wed, 20 Dec 2017 11:41:08 +0000 (12:41 +0100)
committerJan Szejko <janek37@gmail.com>
Wed, 20 Dec 2017 11:41:08 +0000 (12:41 +0100)
src/wolnelektury/templates/bajki.html [new file with mode: 0644]
src/wolnelektury/templates/podcast.html

diff --git a/src/wolnelektury/templates/bajki.html b/src/wolnelektury/templates/bajki.html
new file mode 100644 (file)
index 0000000..7d65c0a
--- /dev/null
@@ -0,0 +1,3 @@
+{% extends 'podcast.html' %}
+
+{% block artist_label %}Opowiada{% endblock %}
\ No newline at end of file
index 17c1d82..0fdb071 100644 (file)
@@ -28,7 +28,7 @@
                     <li data-mp3='{{ mp3 }}'>
                         <div class='play'>{{ title }}
                             <div class='extra-info'>
-                                {% if artist %}Czyta&nbsp;<span class='artist'>{{ artist }}</span>,{% endif %}
+                                {% if artist %}{% block artist_label %}Czyta{% endblock %}&nbsp;<span class='artist'>{{ artist }}</span>,{% endif %}
                                 {% if director %}reż.&nbsp;<span class='director'>{{ director }}</span>{% endif %}
                             </div>
                         </div>