{% extends "base.html" %}
-{% load cache i18n catalogue_tags infopages_tags social_tags %}
+{% load cache chunks i18n catalogue_tags infopages_tags social_tags %}
{% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %}
<div id="promo-box">
- <div class="grid-line" id="promo-box-header">
- <h2 class="mono">Trwa konkurs</h2>
- </div>
- <div id="promo-box-body" class="accent4">
- <p id="promo-box-title" class="mono"><span>Konkurs poezji automatycznej</span></p>
- <div id="promo-box-content">
- <p>Znacie Leśmianatora? To niewielki skrypt miskujący na życzenie
- wiersze z Wolnych Lektur.</p>
- </div>
- </div>
+ {% chunk "promo" %}
</div>
- <h2 class="main-last"><span class="mono">Ostatnie publikacje</span></h2>
- {% cache 300 last-published-on-main %}
+ <h2 class="main-last"><span class="mono">{% trans "Recent publications" %}</span></h2>
+ {% cache 60 last-published-on-main %}
{% for book in last_published %}
{% book_mini book %}
{% endfor %}
<div class="clearboth"></div>
<div class="infopages-box">
- <h2><span class='mono'>Aktualności</span></h2>
+ <h2><span class='mono'>{% trans "News" %}</span></h2>
{% cache 1800 latest-blog-posts %}
{% latest_blog_posts "http://nowoczesnapolska.org.pl/category/wolne-lektury/feed/" %}
{% endcache %}
<div class="infopages-box">
- <h2><span class='mono'>Narzędzia</span></h2>
+ <h2><span class='mono'>{% trans "Utilities" %}</span></h2>
<ul>
<li><a href="{% url suggest %}" id="suggest" class="ajaxable">{% trans "Report a bug or suggestion" %}</a></li>
<li><a href="http://turniej.wolnelektury.pl">Turniej Elektrybałtów</a></li>
<li><a href="{% url lesmianator %}">Leśmianator</a></li>
- <li><a href="{% url infopage "mobilna" %}">{% trans "Mobile app" %}</a></li>
- <li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li>
+ <!--li><a href="{% url infopage "widget" %}">{% trans "Widget" %}</a></li-->
<li><a href="{% url suggest_publishing %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
<li><a href="{% url publish_plan %}">{% trans "Publishing plan" %}</a></li>
</ul>
<div class="infopages-box">
- <h2><span class='mono'>Informacje</span></h2>
- {% cache 300 infopages-on-main LANGUAGE_CODE %}
+ <h2><span class='mono'>{% trans "Information" %}</span></h2>
+ {% cache 60 infopages-on-main LANGUAGE_CODE %}
{% infopages_on_main %}
{% endcache %}
{% endspaceless %}
{% endblock %}
+
+
+{% block add_footer %}
+<p>{% trans "Image used:" %}
+<a href="http://www.flickr.com/photos/horiavarlan/4268896468/">Hardcover book gutter and pages</a>,
+Horia Varlan@Flickr,
+<a href="http://creativecommons.org/licenses/by/2.0/deed.pl">CC BY</a>.
+</p>
+{% endblock %}