changeset 2285:fa61ed37b4e5

Added fqname support to diff view, Fix for issue #27.
author Ashutosh Singla <ashu1461@gmail.com>
date Sun, 22 Sep 2013 01:01:54 +0530
parents bc1cb25ca371
children ec0f8bb20f41
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Sun Sep 22 00:50:53 2013 +0530
+++ b/MoinMoin/apps/frontend/views.py	Sun Sep 22 01:01:54 2013 +0530
@@ -1806,6 +1806,7 @@
     rev_ids = [CURRENT]  # XXX TODO we need a reverse sorted list
     return render_template(item.diff_template,
                            item=item, item_name=item.name,
+                           fqname=item.fqname,
                            diff_html=Markup(item.content._render_data_diff(oldrev, newrev)),
                            rev=item.rev,
                            first_rev_id=rev_ids[0],