diff farol/templates/render.j2 @ 29:891ee029a899

Offer to download the rendered document.
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 02 Oct 2014 12:37:49 +0200
parents 4a9f23230eba
children
line wrap: on
line diff
--- a/farol/templates/render.j2	Thu Oct 02 12:09:28 2014 +0200
+++ b/farol/templates/render.j2	Thu Oct 02 12:37:49 2014 +0200
@@ -33,5 +33,7 @@
 <div class='clearfix page-header'>
   <h1>{{ title }} <small>({{ type_ }})</small></h1>
 </div>
+<p><a class="btn btn-success" href="{{ url_for('render', format_=format_, raw=1) }}">Download</a></p>
 <pre>{{ doc | escape }}</pre>
+<p><a class="btn btn-success" href="{{ url_for('render', format_=format_, raw=1) }}">Download</a></p>
 {% endblock %}

http://farol.wald.intevation.org