X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/65c9feda79d2b2c94cb7dcd561318a83fd796f0a..8505074633ff2e2194b7f845fc84f2040686e570:/src/catalogue/templates/catalogue/snippets/jplayer.html diff --git a/src/catalogue/templates/catalogue/snippets/jplayer.html b/src/catalogue/templates/catalogue/snippets/jplayer.html index 46eef4066..c82c1e826 100644 --- a/src/catalogue/templates/catalogue/snippets/jplayer.html +++ b/src/catalogue/templates/catalogue/snippets/jplayer.html @@ -1,6 +1,6 @@ {% load i18n catalogue_tags %} {% if audiobooks %}{% if book|status:request.user != 'closed' %} -
- {% with fb=i.mp3.extra_info.funded_by %} + {% if i.mp3.project_description %}{{ i.mp3.project_description }}{% else %} + {% with fb=extra_info.funded_by %} {% if fb %}Dofinansowano ze Årodków: {{ fb }}.{% endif %} {% endwith %} + {% endif %}
+ {% endwith %}