{% extends "base.html" %}
{% load i18n %}
{% load catalogue_tags %}

{% block settings %}
  {% load title %}
  {% trans "Ostatnie publikacje" as title %}
  {% title title %}
{% endblock %}

{% 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 %}
  <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 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 %}
