}
.book-box-head .author {
font-size: 1.1em;
+ max-width: 24em;
}
.book-box-head .title {
font-size: 2.4em;
.hasCountdown {
/*border: 1px solid #ccc;
background-color: #eee;*/
- margin: 20px 0 50px 0;
+ margin: 1em 0 7em 0;
}
.countdown_rtl {
direction: rtl;
text-align: center;
}
.countdown_amount {
- font-size: 350%;
- line-height: 32px;
+ font-size: 3.5em;
+ line-height: 1.4em;
}
.countdown_descr {
display: block;
<div id="tagline">
<span>
- {% cache 300 tagline LANGUAGE_CODE %}
+ {% cache 60 tagline LANGUAGE_CODE %}
{% url book_list as b %}
{% url book_list as r %}
{% count_books book_count %}
<div id="main-content">
<div id="nav-line">
- {% cache 300 catalogue-menu LANGUAGE_CODE %}
+ {% cache 60 catalogue-menu LANGUAGE_CODE %}
{% catalogue_menu %}
{% endcache %}
<div class="title"><a href="{{ main_link }}">{{ book.title }}</a></div>
</div>
<div class="tags">
- {% spaceless %}
-
- <span class="mono">{% trans "Epoch" %}:</span> <span class="book-box-tag">
- {% for name, slug in related.tags.epoch %}
- <a href="{% tag_url 'epoch' slug %}">{{ name }} </a>
+ <span class="mono"> {% trans "Epoch" %}:</span> <span class="book-box-tag">
+ {% for name, slug in related.tags.epoch %}
+ <a href="{% tag_url 'epoch' slug %}">{{ name }}</a>
+ {% if not forloop.last %}<span>, </span>{% endif %}
{% endfor %}
</span>
- <span class="mono">{% trans "Kind" %}:</span> <span class="book-box-tag">
- {% for name, slug in related.tags.kind %}
- <a href="{% tag_url 'kind' slug %}">{{ name }} </a>
+ <span class="mono"> {% trans "Kind" %}:</span> <span class="book-box-tag">
+ {% for name, slug in related.tags.kind %}
+ <a href="{% tag_url 'kind' slug %}">{{ name }}</a>
+ {% if not forloop.last %}<span>, </span>{% endif %}
{% endfor %}
</span>
- <span class="mono">{% trans "Genre" %}:</span> <span class="book-box-tag">
- {% for name, slug in related.tags.genre %}
- <a href="{% tag_url 'genre' slug %}">{{ name }} </a>
+ <span class="mono"> {% trans "Genre" %}:</span> <span class="book-box-tag">
+ {% for name, slug in related.tags.genre %}
+ <a href="{% tag_url 'genre' slug %}">{{ name }}</a>
+ {% if not forloop.last %}<span>, </span>{% endif %}
{% endfor %}
</span>
- {% endspaceless %}
-
{% shelf_tags book %}
</div>
</div>
<p>{% trans "See full category" %} <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a></p>
{% else %}
<ul>
+ {% if choices %}
{% for tag in tags %}
- <li><a href="{% catalogue_url choices tag %}">{{ tag }} ({{ tag.book_count }})</a></li>
+ <li><a href="{% catalogue_url choices tag %}">{{ tag }} ({{ tag.count }})</a></li>
{% endfor %}
+ {% else %}
+ {% for tag in tags %}
+ <li><a href="{{ tag.get_absolute_url }}">{{ tag }} ({{ tag.book_count }})</a></li>
+ {% endfor %}
+ {% endif %}
</ul>
{% endif %}
<div class="infopages-box">
<h2><span class='mono'>Informacje</span></h2>
- {% cache 300 infopages-on-main LANGUAGE_CODE %}
+ {% cache 60 infopages-on-main LANGUAGE_CODE %}
{% infopages_on_main %}
{% endcache %}
{% block bodyid %}author-detail{% endblock %}
{% block body %}
- <h1>{{ author.name }}</h1>
- <div id="books-list">
+ <div class="left-column">
+ <h1>{{ author.name }}</h1>
+ <div class="normal-text white-box">
{% if author.has_description %}
<div id="description">
<div id='description-long'>{{ author.description|safe }}</div>
{% endif %}
{% include "info/join_us.html" %}
</div>
+ </div>
- <div class="column-right block-form">
+ <div class="right-column block-form">
{% include "publishing_suggest.html" %}
</div>
{% endblock %}
{% block bodyid %}book-stub-detail{% endblock %}
{% block body %}
+ <div class="left-column">
<h1>{{ book.author }}, {{ book.title }}</h1>
+ <div class="normal-text white-box">
- <div id="books-list">
{% if book.in_pd %}
<p>{% trans "This work is in public domain and will be published on Internet school library of Wolne Lektury soon." %}</p>
{% else %}
{% endif %}
{% include "info/join_us.html" %}
</div>
+ </div>
- <div class="column-right block-form">
+ <div class="right-column block-form">
{% include "publishing_suggest.html" %}
</div>
{% endblock %}