X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/af544a7534db40bd650ac88fe5cf23cccf7b5b27..7c22547b97790b80fff2b0ddfe760925f98bc199:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 11edda829..11f16d046 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:" %}

+ + {% else %} +

+ {% 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 %}
  • {% trans "Source of the book" %}
  • {% endif %} + {% if extra_info.about and not hide_about %} +
  • {% trans "Book on the Editor's Platform" %}
  • + {% endif %} {% if book.gazeta_link %}
  • {% trans "Book description on Lektury.Gazeta.pl" %}
  • {% endif %} @@ -163,6 +192,7 @@ {% endif %}

    {% trans "View XML source" %}

    +

    Miksuj ten utwór

    {% trans "Work's themes " %}