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             <div class="note white-box normal-text" style="font-size: 18px">
 
  26             i wiele innych książek, wierszy, obrazów, audiobooków…
 
  31     <section id="main-theme">
 
  32         <h1>Motywy i tematy</h1>
 
  33         <div class="white-box normal-text">
 
  34         <h2>{% trans "Theme" %}: {{ theme }}</h2>
 
  35         <p>Utwory, w których występuje ten motyw:</p>
 
  36         {% for book in theme_books %}
 
  37             {% ssi_include 'catalogue_book_mini' pk=book.pk %}
 
  39         {% if theme_fragment %}
 
  40             {% ssi_include 'catalogue_fragment_promo' pk=theme_fragment.pk %}
 
  43         <a class="more" href="{% url 'theme_catalogue' %}">Zobacz katalog motywów</a>
 
  47     <section class="tag-box-section">
 
  49       <a class="tag-box" href="{{ author.get_absolute_url }}">
 
  50       {% ssi_include "catalogue_tag_box" pk=author.pk %}
 
  52         <a class="more" href="{% url 'author_catalogue' %}">Zobacz katalog autorów</a>
 
  55     <section class="tag-box-section">
 
  57       <a class="tag-box" href="{{ genre.get_absolute_url }}">
 
  58       {% ssi_include "catalogue_tag_box" pk=genre.pk %}
 
  60         <a class="more" href="{% url 'genre_catalogue' %}">Zobacz katalog gatunków</a>
 
  63     <section class="tag-box-section">
 
  65       <a class="tag-box" href="{{ kind.get_absolute_url }}">
 
  66       {% ssi_include "catalogue_tag_box" pk=kind.pk %}
 
  68         <a class="more" href="{% url 'kind_catalogue' %}">Zobacz katalog rodzajów</a>
 
  71     <section class="tag-box-section">
 
  73       <a class="tag-box" href="{{ epoch.get_absolute_url }}">
 
  74       {% ssi_include "catalogue_tag_box" pk=epoch.pk %}
 
  76         <a class="more" href="{% url 'epoch_catalogue' %}">Zobacz katalog epok</a>
 
  83             {% ssi_include 'catalogue_collection_box' pk=collection.pk %}
 
  84             <a class="more" href="{% url 'catalogue_collections' %}">Zobacz katalog kolekcji</a>
 
  89         <h1>{% trans "Recent publications" %}</h1>
 
  90             {% for book in last_published %}
 
  91                 {% ssi_include 'catalogue_book_mini' pk=book.pk %}
 
  93         <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
 
  96     <div class="clearboth"></div>
 
  98     <section class="infopages-box">
 
  99         <h1>{% trans "News" %}</h1>
 
 100         {% ssi_include 'latest_blog_posts' %}
 
 104     <section class="infopages-box">
 
 105         <h1>{% trans "Utilities" %}</h1>
 
 108             <li><a href="{% url 'suggest' %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
 
 109             <!--li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li-->
 
 110             <li><a href="{% url 'reporting_catalogue_pdf' %}">{% trans "Download the catalogue in PDF format." %}</a></li>
 
 111             <li><a href="{% url 'dictionary_notes' %}">{% trans "Footnotes" %}</a></li>
 
 112             <li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
 
 113             <li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
 
 114             <li><a href="{% url 'api' %}">API</a></li>
 
 115             <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
 
 116             <li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
 
 117             <li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>
 
 123     <section class="infopages-box">
 
 124         <h1>{% trans "Information" %}</h1>
 
 126             <li><a href="https://nowoczesnapolska.org.pl/prywatnosc/">{% trans "Privacy policy" %}</a></li>
 
 127             {% infopages_on_main %}
 
 130         <div class="social-links">
 
 131             <a href="https://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268" title='Wolne Lektury @ Facebook'>
 
 132                 <img src="{% static "img/social/f.png" %}" alt="Wolne Lektury @ Facebook" />
 
 134             <a href="https://nk.pl/profile/30441509" title='Wolne Lektury @ NK'>
 
 135                 <img src="{% static "img/social/nk.png" %}" alt="Wolne Lektury @ NK.pl" />
 
 141 {% endspaceless %}{% endblock %}
 
 144 {% block add_footer %}{% spaceless %}
 
 146     <p>{% trans "Image used:" %}
 
 147     {% ssi_include 'social_cite_info' pk=cite_pk %}
 
 150 {% endspaceless %}{% endblock %}