fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sponsor alt
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
book_text.html
diff --git
a/src/catalogue/templates/catalogue/book_text.html
b/src/catalogue/templates/catalogue/book_text.html
index
758c8cb
..
67372b3
100644
(file)
--- a/
src/catalogue/templates/catalogue/book_text.html
+++ b/
src/catalogue/templates/catalogue/book_text.html
@@
-21,7
+21,7
@@
{% block menu %}
<li>
<a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
{% block menu %}
<li>
<a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
- <span class="label">{% trans "
Click to download
" %}:</span>
+ <span class="label">{% trans "
Kliknij, by pobrać
" %}:</span>
<img src="{% if book.cover_clean %}{% thumbnail book.cover_clean '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_clean.url }}{% endthumbnail %}{% endif %}"
width="120" height="166"
alt="{{ book.pretty_title }}"
<img src="{% if book.cover_clean %}{% thumbnail book.cover_clean '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_clean.url }}{% endthumbnail %}{% endif %}"
width="120" height="166"
alt="{{ book.pretty_title }}"
@@
-32,43
+32,51
@@
{% if book.other_versions.exists %}
<li id="menu-other">
<a href="#" data-box="other">
{% if book.other_versions.exists %}
<li id="menu-other">
<a href="#" data-box="other">
- <span class="label">{% trans "
Other versions
" %}</span>
+ <span class="label">{% trans "
Inne wersje
" %}</span>
</a>
</li>
{% endif %}
<li id="menu-toc">
<a href="#" data-box="wltoc">
</a>
</li>
{% endif %}
<li id="menu-toc">
<a href="#" data-box="wltoc">
- <span class="label">{% trans "
Table of contents
" %}</span>
+ <span class="label">{% trans "
Spis treści
" %}</span>
</a>
</li>
<li id="menu-themes">
<a href="#" data-box="themes">
</a>
</li>
<li id="menu-themes">
<a href="#" data-box="themes">
- <span class="label">{% trans "
Themes
" %}</span>
+ <span class="label">{% trans "
Motywy
" %}</span>
</a>
</li>
<li id="menu-nota_red">
<a href="#" data-box="nota_red">
</a>
</li>
<li id="menu-nota_red">
<a href="#" data-box="nota_red">
- <span class="label">{% trans "
Edit. note
" %}</span>
+ <span class="label">{% trans "
Nota red.
" %}</span>
</a>
</li>
<li id="menu-info">
<a href="#info" data-box="info">
</a>
</li>
<li id="menu-info">
<a href="#info" data-box="info">
- <span class="label">{% trans "Info
box
" %}</span>
+ <span class="label">{% trans "Info
rmacje
" %}</span>
</a>
</li>
</a>
</li>
+ {% if extra_info.logo_mono %}
+ {% thumbnail extra_info.logo_mono '200x200' as th %}
+ <img src="{{ th.url }}" style="width: 100px; padding: 10px;"
+ alt="{{ extra_info.logo_alt|default:'Sponsor' }}"
+ >
+ {% endthumbnail %}
+ {% endif %}
+
<a href="#" class="settings-switch" id="settings-line-numbers"
<a href="#" class="settings-switch" id="settings-line-numbers"
- data-setting="always-hide-line-numbers"><span>{% trans "Num
bering
" %}</span></a>
+ data-setting="always-hide-line-numbers"><span>{% trans "Num
eracja
" %}</span></a>
<a href="#" class="settings-switch" id="settings-themes"
<a href="#" class="settings-switch" id="settings-themes"
- data-setting="always-hide-themes"><span>{% trans "
Themes
" %}</span></a>
+ data-setting="always-hide-themes"><span>{% trans "
Motywy
" %}</span></a>
<a href="#" class="settings-switch" id="settings-annotations"
<a href="#" class="settings-switch" id="settings-annotations"
- data-setting="no-annotations"><span>{% trans "
Footnotes
" %}</span></a>
+ data-setting="no-annotations"><span>{% trans "
Przypisy
" %}</span></a>
<a href="#" class="settings-switch" id="settings-references"
<a href="#" class="settings-switch" id="settings-references"
- data-setting="no-references"><span>{% trans "
References
" %}</span></a>
+ data-setting="no-references"><span>{% trans "
Pinezki
" %}</span></a>
{% endblock menu %}
{% endblock menu %}
@@
-94,8
+102,8
@@
<article id="other-text">
<article id="other-text">
- <a class="other-text-close" href="#">{% trans "
Close
" %}</a>
- <div id="other-text-waiter">{% trans "P
lease wait
..." %}</div>
+ <a class="other-text-close" href="#">{% trans "
Zamknij
" %}</a>
+ <div id="other-text-waiter">{% trans "P
roszę czekać
..." %}</div>
<div id="other-text-body" style="display: none;"></div>
</article>
<div id="other-text-body" style="display: none;"></div>
</article>
@@
-115,7
+123,7
@@
{% block footer %}
{% if book.has_sync_file %}
<div id="player-bar">
{% block footer %}
{% if book.has_sync_file %}
<div id="player-bar">
- {% include 'catalogue/snippets/
2022_
jplayer_reader.html' %}
+ {% include 'catalogue/snippets/jplayer_reader.html' %}
</div>
<script type="application/json" id="smil">
{{ book.get_sync|safe }}
</div>
<script type="application/json" id="smil">
{{ book.get_sync|safe }}
@@
-164,8
+172,8
@@
{% if book.other_versions.exists %}
<div class="box" id="other">
{% if book.other_versions.exists %}
<div class="box" id="other">
- <h2>{% trans "
Other versions of the book
" %}</h2>
- <a class="other-text-close" href="#">{% trans "
Close the other version
" %}</a>
+ <h2>{% trans "
Inne wersje utworu
" %}</h2>
+ <a class="other-text-close" href="#">{% trans "
Zamknij drugą wersję
" %}</a>
<ul>
{% spaceless %}
{% for other_version in book.other_versions %}
<ul>
{% spaceless %}
{% for other_version in book.other_versions %}