changeset 2894:ffea4cf5a8f7

minor tweaks to modernized templates destroy.html and diff.html
author RogerHaase <haaserd@gmail.com>
date Tue, 10 Feb 2015 08:23:40 -0700
parents 6a77d326d9d7
children 76187487acb2
files MoinMoin/templates/destroy.html MoinMoin/templates/diff.html
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/destroy.html	Tue Feb 10 08:22:27 2015 -0700
+++ b/MoinMoin/templates/destroy.html	Tue Feb 10 08:23:40 2015 -0700
@@ -17,7 +17,7 @@
             {{ gen.form.close() }}
         </div>
     {% else %}
-        <h1>{{ _("DESTROY REVISION '%(item_name)s' (rev %(rev_id)s)", item_name=item.name, rev_id=rev_id | shorten_id) }}</h1>
+        <h1>{{ _("DESTROY REVISION '%(item_name)s' (rev %(rev_id)s)", item_name=fqname.value, rev_id=rev_id | shorten_id) }}</h1>
         <div class="moin-form">
             {{ gen.form.open(form, method="post", action=url_for('frontend.destroy_item', item_name=fqname.fullname, rev=rev_id)) }}
                 {{ forms.render_errors(form) }}
--- a/MoinMoin/templates/diff.html	Tue Feb 10 08:22:27 2015 -0700
+++ b/MoinMoin/templates/diff.html	Tue Feb 10 08:23:40 2015 -0700
@@ -2,7 +2,6 @@
 {% block content %}
     {% block headline %}
         <h1>{{ _("Diff for '%(item_name)s'", item_name=newrev.item.name) }}</h1>
-        <br>
     {% endblock %}
     {{ diff_html }}
 {% endblock %}