fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Librarian in regular requirements.
[redakcja.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
book_detail.html
diff --git
a/apps/catalogue/templates/catalogue/book_detail.html
b/apps/catalogue/templates/catalogue/book_detail.html
index
eea6a6c
..
4712edf
100755
(executable)
--- a/
apps/catalogue/templates/catalogue/book_detail.html
+++ b/
apps/catalogue/templates/catalogue/book_detail.html
@@
-1,5
+1,9
@@
{% extends "catalogue/base.html" %}
{% extends "catalogue/base.html" %}
-{% load book_list comments i18n %}
+{% load book_list i18n %}
+
+
+{% block titleextra %}{{ book.title }}{% endblock %}
+
{% block content %}
{% block content %}
@@
-65,7
+69,9
@@
<a target="_blank" href="{% url 'catalogue_book_html' book.slug %}" rel="nofollow">{% trans "HTML version" %}</a><br/>
<a href="{% url 'catalogue_book_txt' book.slug %}" rel="nofollow">{% trans "TXT version" %}</a><br/>
<a href="{% url 'catalogue_book_pdf' book.slug %}" rel="nofollow">{% trans "PDF version" %}</a><br/>
<a target="_blank" href="{% url 'catalogue_book_html' book.slug %}" rel="nofollow">{% trans "HTML version" %}</a><br/>
<a href="{% url 'catalogue_book_txt' book.slug %}" rel="nofollow">{% trans "TXT version" %}</a><br/>
<a href="{% url 'catalogue_book_pdf' book.slug %}" rel="nofollow">{% trans "PDF version" %}</a><br/>
+ <a href="{% url 'catalogue_book_pdf_mobile' book.slug %}" rel="nofollow">{% trans "PDF version for mobiles" %}</a><br/>
<a href="{% url 'catalogue_book_epub' book.slug %}" rel="nofollow">{% trans "EPUB version" %}</a><br/>
<a href="{% url 'catalogue_book_epub' book.slug %}" rel="nofollow">{% trans "EPUB version" %}</a><br/>
+ <a href="{% url 'catalogue_book_mobi' book.slug %}" rel="nofollow">{% trans "MOBI version" %}</a><br/>
</p>
{% if user.is_authenticated %}
</p>
{% if user.is_authenticated %}
@@
-76,6
+82,7
@@
CC BY 2.0 (http://creativecommons.org/licenses/by/2.0/)
-->
<form method="POST" action="{% url 'catalogue_publish' book.slug %}">{% csrf_token %}
CC BY 2.0 (http://creativecommons.org/licenses/by/2.0/)
-->
<form method="POST" action="{% url 'catalogue_publish' book.slug %}">{% csrf_token %}
+ {{ publish_options_form.as_p }}
<img src="{{ STATIC_URL }}img/angel-left.png" style="vertical-align: middle" />
<button id="publish-button" type="submit">
<span>{% trans "Publish" %}</span></button>
<img src="{{ STATIC_URL }}img/angel-left.png" style="vertical-align: middle" />
<button id="publish-button" type="submit">
<span>{% trans "Publish" %}</span></button>
@@
-93,14
+100,4
@@
</div>
</div>
-
-<div class='section'>
- <h2>{% trans "Comments" %}</h2>
-
- {% render_comment_list for book %}
- {% with book.get_absolute_url as next %}
- {% render_comment_form for book %}
- {% endwith %}
-</div>
-
{% endblock content %}
{% endblock content %}