fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes #925 (xml source link on book's page).
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_detail.html
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
676cc0b
..
ffb586b
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-138,6
+138,9
@@
<a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</li>
+ <li>
+ <a href="{{ book.xml_file.url }}">{% trans "View XML source" %}</a>
+ </li>
</ul>
<h2>{% trans "Other resources" %}</h2>
<ul>