{% extends "layout-1-col.html" %}
{% load book_links russian %}

{% block l-page %}l-page_index{% endblock %}

{% block content %}
<lego:b-page-title>
    <lego:title>Новые книги</lego:title>
</lego:b-page-title>

{% load b_book_index %}
<table class="l-book-index">
    <tr>
        <td class="l-book-index__g"></td>
        <td class="l-book-index__l">
			{% b_book_index book1 "s" 1 %}
			{% b_book_index book2 "m" 3 %}
			{% b_book_index book3 "" 2 %}
        </td>
        <td class="l-book-index__r" rowspan="2">
            <div class="b-about">
                <span>
                    <a href="http://wiki.yandex-team.ru/ProBiblioteku">Про библиотеку</a>
                </span>
            </div>
            <p class="b-header">А также</p>
            <ul class="b-book-list">
            {% for more_book in more_books %}
                <li>
                    <span class="b-book">
                        <span class="name"><a href="{% url view_book more_book.id %}">{{ more_book.title }}</a></span>
                        <span class="misc">{{ more_book.authors_string }}</span>
                    </span>
                </li>
            {% endfor %}
            </ul>
        </td>
        <td class="l-book-index__g"></td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="b-news" onclick="return {blog_rss_url: '{% url service_blog_rss %}'};">
                <!-- Сюда вонзается ajax-результат с RSS блога (см. js блока b-news)  -->
            </div>
        </td>
    </tr>
</table>
{% endblock %}