X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7e890833260e5aef8ae217d195309b76fa91c02f..16faf95f77bf43f8055c15865d6c53d00740d521:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 660bf2602..3d0b92d18 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -4,6 +4,8 @@ {% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} + {% block bodyid %}book-detail{% endblock %} {% block body %} @@ -101,8 +103,32 @@ {% endif %} -
{% blocktrans with 'CzytamySÅuchajÄ c' as cs %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} -
+ {% if projects|length > 1 %} +{% trans "Audiobooks were prepared as a part of the projects:" %}
++ {% with projects.0.0 as cs %} + {% with projects.0.1 as fb %} + {% if fb %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %} + {% else %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} + {% endif %} + {% endwith %} + {% endwith %} +
+ {% endif %} {% endif %} @@ -155,6 +181,9 @@ {% if extra_info.source_url %}