X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/04474c1980a751d4b6ca205e47b82e6471028e7f..735368cfb54c8954518179993dcd3bc55e3878e7:/wolnelektury/templates/catalogue/tagged_object_list.html
diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html
index aef6ad5c3..3f9c5ba67 100644
--- a/wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/wolnelektury/templates/catalogue/tagged_object_list.html
@@ -1,64 +1,19 @@
{% extends "base.html" %}
+{% load i18n %}
{% load catalogue_tags pagination_tags %}
{% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %}
{% block bodyid %}tagged-object-list{% endblock %}
-{% block extrahead %}
-
-{% endblock %}
-
{% block body %}
{% title_from_tags tags %}
{% breadcrumbs tags %}
{% if shelf_is_set 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 %}
@@ -68,48 +23,117 @@
{{ last_tag.description|safe }}
-
+
+ {% trans "Toggle description" %} â²
+ {% endif %}
+ {% if shelf_is_set %}
+
+ {% trans "Download all books from this shelf" %}
+
+
+ {% endif %}
+ {% if last_tag.gazeta_link %}
+
+ {% ifequal last_tag.category "author" %}
+ {% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
+ {% endifequal %}
+ {% ifequal last_tag.category "epoch" %}
+ {% trans "Read study of epoch" %} {{ last_tag }} {% trans "on Lektury.Gazeta.pl" %}
+ {% endifequal %}
+
+ {% endif %}
+ {% if last_tag.wiki_link %}
+
+ {% ifequal last_tag.category "author" %}
+ {% trans "Read article about this author on Wikipedia" %}
+ {% endifequal %}
+ {% ifequal last_tag.category "epoch" %}
+ {% trans "Read article about epoch" %} {{ last_tag }} {% trans "on Wikipedia" %}
+ {% endifequal %}
+
+ {% endif %}
+
+ {% if object_list %}
+
+ {% for book in object_list %}
+ -
+ {% if user_is_owner %}
+ {% trans "Delete" %}
+ {% endif %}
+ {{ book.short_html }}
+ {% endfor %}
+
+ {% else %}
+ {% if only_author %}
+ {% if last_tag.alive %}
+ {% trans "This author's works are copyrighted." %}
+ {% else %}{% comment %} Is dead {% endcomment %}
+ {% if last_tag.in_pd %}
+ {% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}
+ {% else %}
+ {% comment %} Is dead, but not yet in public domain {% endcomment %}
+
+
{% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in:" %}
+ {% include "catalogue/pd_counter.html" %}
+
Dowiedz siÄ, dlaczego biblioteki internetowe
+ nie mogÄ
udostÄpniaÄ dzieÅ tego autora.
+
+ {% endif %}
+ {% endif %}
+ {% else %}
+ {% trans "No works of this author found." %}
+ {% endif %}
+ {% include "info/join_us.html" %}
{% endif %}
{% endwith %}
-
- {% for book in object_list %}
- - {{ book.short_html }}
- {% endfor %}
-
{% paginate %}
+ {% if object_list %}
+ {% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %}
+ {% endif %}
{% endif %}
-
+
-
Åadowanie
+
{% trans "Loading" %}
{% endblock %}
\ No newline at end of file