X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3f84dfec54e97d5d5b4f8a1d37c2a1e8ba8a2933..17bd0c21add8a0b41a57f6f531dc0a90bbd0a393:/wolnelektury/templates/catalogue/book_fragments.html diff --git a/wolnelektury/templates/catalogue/book_fragments.html b/wolnelektury/templates/catalogue/book_fragments.html index 4f1c0ebad..d46f869d8 100644 --- a/wolnelektury/templates/catalogue/book_fragments.html +++ b/wolnelektury/templates/catalogue/book_fragments.html @@ -1,37 +1,20 @@ {% extends "base.html" %} -{% load catalogue_tags pagination_tags %} +{% load i18n %} +{% load work_list from catalogue_tags %} -{% block title %}Motyw {{ theme }} w utworze {{ book }} w WolneLektury.pl{% endblock %} +{% block titleextra %}{% trans "Theme" %} {{ theme }} {% trans "in work " %} {{ book }}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} - <h1>Motyw {{ theme }} w utworze {{ book }}</h1> - <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> - <p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{{ book.get_absolute_url }}">wrÃ³Ä do strony utworu</a></p> - </form> - - {% autopaginate fragments 10 %} - <div id="books-list"> - <ol> - {% for fragment in fragments %} - <li>{{ fragment.short_html }}</li> - {% endfor %} - </ol> - {% paginate %} - </div> - <div id="tags-list"> - <div id="categories-list"> - Zobacz opis <a href="{{ book.get_absolute_url }}">utworu {{ book }}</a> - </div> - <div id="themes-list"> - </div> - <div class="clearboth"></div> + <div class="left-column"> + <h1>{% trans "Theme" %} + <a href="{{ theme.get_absolute_url }}">{{ theme }}</a> + <br/>{% trans "in work " %} + <a href="{{ book.get_absolute_url }}">{{ book }}</a></h1> </div> - <div id="set-window"> - <div class="header"><a href="#" class="jqmClose">Zamknij</a></div> - <div class="target"> - <p><img src="/media/img/indicator.gif" alt="*"/> Åadowanie</p> - </div> + + <div class="right-column"> + {% work_list fragments %} </div> -{% endblock %} \ No newline at end of file +{% endblock %}