Index: MoinMoin/templates/revert.html |
=================================================================== |
--- a/MoinMoin/templates/revert.html |
+++ b/MoinMoin/templates/revert.html |
@@ -1,9 +1,9 @@ |
{% import "forms.html" as forms %} |
{% extends theme("layout.html") %} |
{% block content %} |
-<h1>{{ _("Revert '%(item_name)s' (rev %(rev_id)s)", item_name=item.name, rev_id=rev_id | shorten_id) }}</h1> |
+<h1>{{ _("Revert '%(item_name)s' (rev %(rev_id)s, names '%(new_names)s') ", item_name=fqname | shorten_item_name, rev_id=rev_id | shorten_id, new_names=item.meta['name'] | join('|')) }}</h1> |
<div class="moin-form"> |
-{{ gen.form.open(form, method="post", action=url_for('frontend.revert_item', item_name=item.name, rev=rev_id)) }} |
+{{ gen.form.open(form, method="post", action=url_for('frontend.revert_item', item_name=item.fqname, rev=rev_id)) }} |
{{ forms.render_errors(form) }} |
<dl> |
{{ forms.render(form['comment']) }} |