Convert the document print view to CBV. Tweak the print template. Make 'print all' pages the default.

This commit is contained in:
Roberto Rosario
2016-11-04 01:32:59 -04:00
parent 31b2464899
commit 011db7c0f6
4 changed files with 64 additions and 50 deletions
@@ -4,9 +4,6 @@
{% block content_plain %}
{% for page in pages %}
<img src="{% url 'rest_api:documentpage-image' page.id %}" />
<img src="{% url 'rest_api:documentpage-image' page.id %}?size={{ size }}" />
{% endfor %}
{% endblock %}
setting_print_size.value