1 {% extends "base.html" %}
 
   2 {% load static from staticfiles %}
 
   3 {% load i18n catalogue_tags infopages_tags social_tags %}
 
   4 {% load ssi_include from ssify %}
 
   7 {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
   8 {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %}
 
  10 {% block body %}{% spaceless %}
 
  12     {% choose_cite as cite_pk %}
 
  14         {% ssi_include 'social_cite_main' pk=cite_pk %}
 
  17     <section id="main-library">
 
  18         <h1>W naszej cyfrowej bibliotece znajdziesz</h1>
 
  19         <div class="main-library-row">
 
  22                 {% ssi_include 'catalogue_book_mini' pk=b.pk %}
 
  25             <a href="{% url "book_list" %}">
 
  26                 <div class="note white-box normal-text" style="font-size: 18px">
 
  27                     i wiele innych książek, wierszy, obrazów, audiobooków…
 
  33     <section id="main-theme">
 
  34         <h1>Motywy i tematy</h1>
 
  35         <div class="white-box normal-text">
 
  36         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  37         <p>Utwory, w których występuje ten motyw:</p>
 
  38         {% for book in theme_books %}
 
  39             {% ssi_include 'catalogue_book_mini' pk=book.pk %}
 
  41         {% if theme_fragment %}
 
  42             {% ssi_include 'catalogue_fragment_promo' pk=theme_fragment.pk %}
 
  45         <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
 
  49     <section class="tag-box-section">
 
  51       <a class="tag-box" href="{{ author.get_absolute_url }}">
 
  52       {% ssi_include "catalogue_tag_box" pk=author.pk %}
 
  54         <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
 
  57     <section class="tag-box-section">
 
  59       <a class="tag-box" href="{{ genre.get_absolute_url }}">
 
  60       {% ssi_include "catalogue_tag_box" pk=genre.pk %}
 
  62         <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
 
  65     <section class="tag-box-section">
 
  67       <a class="tag-box" href="{{ kind.get_absolute_url }}">
 
  68       {% ssi_include "catalogue_tag_box" pk=kind.pk %}
 
  70         <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
 
  73     <section class="tag-box-section">
 
  75       <a class="tag-box" href="{{ epoch.get_absolute_url }}">
 
  76       {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
 
  78         <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
 
  85             {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
 
  86             <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
 
  91         <h1>{% trans "Recent publications" %}</h1>
 
  92             {% for book in last_published %}
 
  93                 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
 
  95         <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
  98     <div class="clearboth"></div>
 
 100     <section class="infopages-box">
 
 101         <h1>{% trans "News" %}</h1>
 
 102         {% ssi_include 'latest_blog_posts' %}
 
 106     <section class="infopages-box">
 
 107         <h1>{% trans "Utilities" %}</h1>
 
 110             <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
 111             <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
 112             <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 113             <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 114             <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 115             <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 116             <li><a href="{% url 'api' %}">API</a></li>
 
 117             <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 118             <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 119             <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
 125     <section class="infopages-box">
 
 126         <h1>{% trans "Information" %}</h1>
 
 128             <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 129             {% infopages_on_main %}
 
 132         <div class="social-links">
 
 133             <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 134                 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 136             <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 137                 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 143 {% endspaceless %}{% endblock %}
 
 146 {% block add_footer %}{% spaceless %}
 
 148     <p>{% trans "Image used:" %}
 
 149     {% ssi_include 'social_cite_info' pk=cite_pk %}
 
 152 {% endspaceless %}{% endblock %}