X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7179cd5fbb16e2454f1a193a213f6607592e22c..f293bf6e6217d2277d11b65fdb63bc35badc8e68:/wolnelektury/templates/catalogue/tagged_object_list.html?ds=sidebyside
diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html
index 91824ed32..f845c624f 100644
--- a/wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/wolnelektury/templates/catalogue/tagged_object_list.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags pagination_tags %}
+{% load catalogue_tags pagination_tags switch_tag %}
{% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %}
@@ -9,11 +9,11 @@
{% block body %}
{% title_from_tags tags %}
{% breadcrumbs tags %}
-
- {% if shelf_is_set and not object_list %}
+
+ {% if only_shelf and not object_list %}
-
Twoja póÅka jest pusta
-
Możesz wrzuciÄ ksiÄ
żkÄ na póÅkÄ, wchodzÄ
c na stronÄ danej lektury i klikajÄ
c na przycisk âNa póÅkÄ!â.
+
{% trans "Your shelf is empty" %}
+
{% trans "You can put a book on a shelf by entering page of the reading and clicking 'Put on the shelf'." %}
{% else %}
{% autopaginate object_list 10 %}
@@ -21,38 +21,70 @@
{% with tags|last as last_tag %}
{% if last_tag.has_description %}
- {{ last_tag.description|safe }}
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:30 }}
-
+
{% endif %}
- {% if shelf_is_set %}
+ {% if only_shelf %}
- Pobierz wszystkie ksiÄ
żki z tej póÅki
+ {% trans "Download all books from this shelf" %}
+ {% if only_my_shelf %}
+ {% trans "Share this shelf" %}
+
+
{% trans "Copy this link and share it with other people to let them see your shelf." %}
+
+
+
+ {% endif %}
{% endif %}
{% if last_tag.gazeta_link %}
- {% ifequal last_tag.category "author" %}Przeczytaj omówienia utworów autora w serwisie Lektury.Gazeta.pl{% endifequal %}
- {% ifequal last_tag.category "epoch" %}Przeczytaj omówienia z epoki {{ last_tag }} w serwisie Lektury.Gazeta.pl{% endifequal %}
+ {% switch last_tag.category %}
+ {% case "author" %}
+ {% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
+ {% case "epoch" %}
+ {% blocktrans %}Read study of epoch {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
+ {% case "kind" %}
+ {% blocktrans %}Read study of kind {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
+ {% case "genre" %}
+ {% blocktrans %}Read study of genre {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
+ {% else %}
+ {% trans "Read related study on Lektury.Gazeta.pl" %}
+ {% endswitch %}
{% endif %}
{% if last_tag.wiki_link %}
- {% ifequal last_tag.category "author" %}Przeczytaj artykuÅ o autorze w Wikipedii{% endifequal %}
- {% ifequal last_tag.category "epoch" %}Przeczytaj artykuÅ o epoce {{ last_tag }} w Wikipedii{% endifequal %}
+ {% switch last_tag.category %}
+ {% case "author" %}
+ {% trans "Read article about this author on Wikipedia" %}
+ {% case "epoch" %}
+ {% blocktrans %}Read article about epoch {{ last_tag }} on Wikipedia{% endblocktrans %}
+ {% case "kind" %}
+ {% blocktrans %}Read article about kind {{ last_tag }} on Wikipedia{% endblocktrans %}
+ {% case "genre" %}
+ {% blocktrans %}Read article about genre {{ last_tag }} on Wikipedia{% endblocktrans %}
+ {% else %}
+ {% trans "Read related article on Wikipedia" %}
+ {% endswitch %}
{% endif %}
@@ -61,65 +93,45 @@
{% for book in object_list %}
{% if user_is_owner %}
- UsuÅ
+ {% trans "Delete" %}
{% endif %}
{{ book.short_html }}
{% endfor %}
+ {% paginate %}
{% else %}
- {% if only_author %}
- {% if last_tag.alive %}
- DzieÅa tego autora objÄte sÄ
prawem autorskim.
- Dowiedz siÄ, dlaczego biblioteki internetowe
- nie mogÄ
udostÄpniaÄ dzieÅ tego autora.
- {% else %}{% comment %} Nie żyje {% endcomment %}
- {% if last_tag.in_pd %}
- DzieÅa tego autora znajdujÄ
siÄ w domenie publicznej
- i niedÅugo zostanÄ
opublikowane w szkolnej bibliotece
- internetowej Wolne Lektury.
- {% else %}{% comment %} Nie żyje, ale jeszcze nie w PD {% endcomment %}
-
-
DzieÅa tego autora przejdÄ
do zasobów domeny
- publicznej i bÄdÄ
mogÅy byÄ publikowane bez
- żadnych ograniczeŠza:
- {% include "catalogue/pd_counter.html" %}
-
Dowiedz siÄ, dlaczego biblioteki internetowe
- nie mogÄ
udostÄpniaÄ dzieÅ tego autora.
-
- {% endif %}
- {% endif %}
- {% else %}
- Nie znaleziono żadnych utworów.
- {% endif %}
+ {% trans "Sorry! Search cirteria did not match any resources." %}
{% include "info/join_us.html" %}
{% endif %}
{% endwith %}
- {% paginate %}
{% if object_list %}
- {% comment %} JeÅli nic nie znaleźliÅmy, to i po prawej stronie nic nie bÄdzie {% endcomment %}
+ {% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %}