Locatizations.
[wolnelektury.git] / src / catalogue / templates / catalogue / recent_list.html
old mode 100755 (executable)
new mode 100644 (file)
index 28a96b8..e1f3f4c
@@ -2,21 +2,33 @@
 {% load i18n %}
 {% load catalogue_tags %}
 
-{% block titleextra %}{% trans "Recent publications" %}{% endblock %}
-
-{% block bodyid %}recent-list{% endblock %}
+{% block settings %}
+  {% load title %}
+  {% trans "Ostatnie publikacje" as title %}
+  {% title title %}
+{% endblock %}
 
-{% block body %}
-    <h1>{% trans "Recent publications" %}</h1>
+{% block main %}
+  <div class="l-article__title">
+    <h1>{% trans "Ostatnie publikacje" %}</h1>
+  </div>
 
-    {% url 'recent_audiobooks_list' as a %}
-    {% url 'recent_daisy_list' as d %}
-    <p class='normal-text'>
-        {% blocktrans %}You can also see <a href="{{a}}">recent audiobooks</a>
-        and <a href="{{d}}">recent DAISY files</a>.{% endblocktrans %}
-    </p>
+  {% url 'recent_audiobooks_list' as a %}
+  {% url 'recent_daisy_list' as d %}
+  <div class="l-main">
+    <p>
+      {% blocktrans trimmed %}
+        Zobacz też listę <a href="{{ a }}">ostatnio dodanych audiobooków</a>
+        i <a href="{{ d }}">plików DAISY</a>.
+      {% endblocktrans %}
+  </p>
+  </div>
 
-    <div id="books-list">
-        {% work_list object_list %}
+  <div class="l-section l-section--col">
+    <div class="l-books__grid" id="book-list">
+      {% for book in object_list %}
+        {% include "catalogue/book_box.html" %}
+      {% endfor %}
     </div>
+  </div>
 {% endblock %}