funding info in player
authorJan Szejko <janek37@gmail.com>
Tue, 7 Mar 2017 14:37:57 +0000 (15:37 +0100)
committerJan Szejko <janek37@gmail.com>
Tue, 7 Mar 2017 14:37:57 +0000 (15:37 +0100)
src/catalogue/templates/catalogue/snippets/jplayer.html

index 397d36e..860c2b6 100644 (file)
                   <div class='extra-info'>
                     {% trans "Artist:" %}&nbsp;<span class='artist'>{{ i.mp3.extra_info.artist_name }}</span>,
                     {% trans "director:" %}&nbsp;<span class='director'>{{ i.mp3.extra_info.director_name }}</span>
                   <div class='extra-info'>
                     {% trans "Artist:" %}&nbsp;<span class='artist'>{{ i.mp3.extra_info.artist_name }}</span>,
                     {% trans "director:" %}&nbsp;<span class='director'>{{ i.mp3.extra_info.director_name }}</span>
+                    <p>
+                      {% with fb=i.mp3.extra_info.funded_by %}
+                        {% if fb %}Dofinansowano ze środków: {{ fb }}.{% endif %}
+                      {% endwith %}
+                    </p>
                   </div>
                 </div>
               </li>
                   </div>
                 </div>
               </li>