{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags chunks cache %}
+{% load catalogue_tags chunks cache reporting_stats %}
+
+
+{% block tagline %}
+<div id='tagline'>
+
+{% count_books_nonempty count_books %}
+{% blocktrans count count_books as c %}
+{{c}} book from <a href='http://domenapubliczna.org'>public domain</a> or under
+a <a href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>free license</a>.
+{% plural %}
+{{c}} books from <a href='http://domenapubliczna.org'>public domain</a> or under
+a <a href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>free license</a>.
+{% endblocktrans %}
+
+</div>
+{% endblock %}
+
{% block bodyid %}main-page{% endblock %}
<div id="intro">
<p id="tags-description">↓ {% trans "Browse books by categories" %} ↓</p>
<div id="propaganda">
- <p style="margin-top:-1em; margin-bottom: 2em;">
- <a class="banner" href="http://nowoczesnapolska.org.pl/wesprzyj_nas/" style="line-height: 1.5em; font-size: 1.5em;">
- <img src="/static/img/procent.png" alt="1%" style="float:left; margin:.2em .7em 0 0;" />
- Twój 1% to <span style="color: rgb(191, 0, 26);">więcej lektur</span><br/>
- KRS 0000070056
- </a>
- </p>
-
-
- <h2>Zaproszenie do udziału w badaniu</h2>
- <p>Zapraszamy do udziału w badaniu na rzecz pracy doktorskiej o Otwartych Zasobach Edukacyjnych</p>
- <p class="see-more" style="clear:both"><a href="{% url invitation %}">{% trans "See more" %} ⇒</a></p>
+ {% chunk "promo" %}
- <h2>Nowy Leśmianator</h2>
- <p>Tym razem to Ty decydujesz, co wpadnie do miksera – a efekt możesz pokazać znajomym!
- </p>
- <p class="see-more" style="clear:both"><a href="{% url lesmianator %}">{% trans "Twórzże się!" %} ⇒</a></p>
-
-
- <h2>Wolne Okładki</h2>
- <p>Tworzymy okładki do utworów z biblioteki Wolne Lektury.</p>
- <p><a href='http://wolneokladki.pl/'><img src='/static/img/wolneokladki-logo.png' alt='Wolne Okładki' width='250' height='98' /></a></p>
- <p class="see-more"><a href="http://wolneokladki.pl/" title="Wolne Okładki">{%trans "See more" %} ⇒</a></p>
+ {% comment %}
+ <h2>Spot promocyjny</h2>
+ <p><iframe width="260" height="162"
+ src="http://www.youtube.com/embed/IteV_EoTrZE"
+ frameborder="0" allowfullscreen></iframe></p>
+ {% endcomment %}
{% comment %} <h2>{% trans "Books for every school level" %}</h2>
<ul>
<li><a href="">{% trans "high school" %}</a></li>
</ul> {% endcomment %}
- <h2>{% trans "Wolne Lektury Widget" %}</h2>
- <p>{% trans "Place our widget - search engine for Wolne Lektury which gives access to free books and audiobooks - on your homepage! Just copy the HTML code below onto your page:" %}</p>
- <textarea rows="1" cols="35" class='widget-code' title='widget'><!-- START {% trans "Insert this element in place where you want display the widget" %} -->
-<div id="wl" />
-<!-- END -->
-<!-- START {% trans "Place this element just before closing body tag: </body>" %} -->
-<script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"></script>
-<!-- END --></textarea>
- <p class="see-more"><a href="{% url widget %}" title="{% trans "Wolne Lektury Widget" %}">{% trans "See more" %} ⇒</a></p>
+ <br/>
<h2>{% trans "Your shelves with books" %}</h2>
{% if user.is_authenticated %}
{% if shelves %}
<li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create shelf" %}"/></li>
</ol>
</form>
+ <br/>
{% else %}
<p>{% trans "Create your own book set. You can share it with friends by sending them link to your shelf." %}</p>
<p>{% trans "You need to " %} <a class="login-register-link" href="#">{% trans "sign in" %}</a> {% trans "to manage your shelves." %}</p>
{% endif %}
+
+ <h2>Leśmianator</h2>
+ <p>Wybierz, co wpadnie do miksera, i pokaż efekt znajomym!
+ </p>
+ <p class="see-more" style="clear:both"><a href="{% url lesmianator %}">{% trans "Twórzże się!" %} ⇒</a></p>
+
+ <h2>{% trans "Wolne Lektury Widget" %}</h2>
+ <p>{% trans "Place our widget - search engine for Wolne Lektury which gives access to free books and audiobooks - on your homepage! Just copy the HTML code below onto your page:" %}</p>
+ <textarea rows="1" cols="35" class='widget-code' title='widget'><!-- START {% trans "Insert this element in place where you want display the widget" %} -->
+<div id="wl" />
+<!-- END -->
+<!-- START {% trans "Place this element just before closing body tag: </body>" %} -->
+<script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"></script>
+<!-- END --></textarea>
+ <p class="see-more"><a href="{% url widget %}" title="{% trans "Wolne Lektury Widget" %}">{% trans "See more" %} ⇒</a></p>
+
<div id="lessons">
<h2><a href="{% url lessons_document_list %}">{% trans "Hand-outs for teachers" %}</a></h2>
<p>{% trans "Lessons' prospects and other ideas for using Wolnelektury.pl for teaching." %}</p>
</div>
<div id="you-can-help">
<h2>{% trans "You can help us!" %}</h2>
- <p>{% trans "We try our best to elaborate works appended to our library. It is possible only due to support of our volunteers." %}</p>
- <p>{% trans "We invite people who want to take part in developing Internet school library Wolne Lektury." %}</p>
- <p class="see-more"><a href="{% url help_us %}" title="{% trans "You can help us!" %}">{% trans "See more" %} ⇒</a></p>
+ <ul>
+ <li>{% trans "Become a volunteer – an editor, developer or translator." %}</li>
+ <li>{% trans "Gain new skills and experience." %}</li>
+ <li>{% trans "Join an open project of creating an innovative online library." %}</li>
+ </ul>
+ <p class="see-more"><a href="{% url help_us %}" title="{% trans "You can help us!" %}">{% trans "You can help us!" %} ⇒</a></p>
</div>
<div id="about-us">
<h2>{% trans "About us" %}</h2>
</div>
</div>
{% endblock %}
+
+
+{% block add_footer %}
+
+<p>
+{% blocktrans %}
+Portions of this page are modifications based on work created and <a href="http://code.google.com/policies.html">shared by Google</a> and used
+according to terms described in the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
+3.0 Attribution License</a>.
+{% endblocktrans %}
+</p>
+
+{% endblock %}