changeset 2911:df1ea9450914

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 27 Apr 2015 21:18:24 +0200
parents b5af7d54c352 (current diff) 86df79fae350 (diff)
children 70d113e58edc
files
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Mon Apr 27 21:13:20 2015 +0200
+++ b/MoinMoin/templates/modify.html	Mon Apr 27 21:18:24 2015 +0200
@@ -31,6 +31,9 @@
 {% block content %}
     <h1>{{ title }}</h1>
     <div id="moin-modify" class="moin-form">
+        <a class="btn btn-success" style="float: right" href="{{ url_for('.download_item', item_name=item_name, mimetype='application/x.moin.download') }}">
+        <span class="fa fa-download"></span> {{ _('Download') }}
+        </a>
         {{ gen.form.open(form, method='post', enctype='multipart/form-data') }}
             {{ forms.render_errors(form) }}
             {#
--- a/MoinMoin/themes/basic/templates/modify.html	Mon Apr 27 21:13:20 2015 +0200
+++ b/MoinMoin/themes/basic/templates/modify.html	Mon Apr 27 21:18:24 2015 +0200
@@ -26,6 +26,9 @@
 {% block content %}
     <h1>{{ title }}</h1>
     <div id="moin-modify" class="moin-form">
+        <a class="btn btn-success" style="float: right" href="{{ url_for('.download_item', item_name=item_name, mimetype='application/x.moin.download') }}">
+        <span class="fa fa-download"></span> {{ _('Download') }}
+        </a>
         {{ gen.form.open(form, method='post', enctype='multipart/form-data') }}
             {{ forms.render_errors(form) }}
             {{ forms.render_errors(form['meta_form']['acl']) }}