fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code layout change.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
snippets
/
custom_pdf_link_li.html
diff --git a/src/catalogue/templates/catalogue/snippets/custom_pdf_link_li.html
b/src/catalogue/templates/catalogue/snippets/custom_pdf_link_li.html
new file mode 100644
(file)
index 0000000..
353ad8b
--- /dev/null
+++ b/
src/catalogue/templates/catalogue/snippets/custom_pdf_link_li.html
@@ -0,0
+1,7
@@
+{% load i18n %}
+{% if not NO_CUSTOM_PDF %}
+<li>
+ <a href="{% url 'custom_pdf_form' book.slug %}" id="custom-pdf"
+ class="ajaxable">{% trans "Download a custom PDF" %}</a>
+</li>
+{% endif %}