Code layout change.
[wolnelektury.git] / src / social / templates / social / my_shelf.html
diff --git a/src/social/templates/social/my_shelf.html b/src/social/templates/social/my_shelf.html
new file mode 100755 (executable)
index 0000000..f448ad2
--- /dev/null
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load catalogue_tags %}
+
+{% block titleextra %}{% trans "My shelf" %}{% endblock %}
+
+{% block logout %}/{% endblock %}
+
+{% block body %}
+
+    <h1>{% trans "My shelf" %}</h1>
+
+    {% work_list books %}
+
+    {% if not books %}
+    {% trans "Add works to your shelf by clicking on the star on the page of the work. The work will then show up on My shelf page." %}
+    {# trans "Aby dodać pozycję do swojej półki, należy zaznaczyć gwiazdkę znajdującą się na stronie utworu. Po jej zaznaczeniu publikacja pojawi się w zakładce Moja półka" #}
+    {% endif %}
+{% endblock %}