changeset 2845:1006d2d15d70

fix #465 blog/utils.html accesses a cached user object
author RogerHaase <haaserd@gmail.com>
date Mon, 27 Oct 2014 11:32:55 -0700
parents 4560747c4506
children f9bccf2e3d1e
files MoinMoin/templates/blog/entry.html MoinMoin/templates/blog/layout.html MoinMoin/templates/blog/main.html
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/blog/entry.html	Thu Oct 23 09:38:41 2014 -0700
+++ b/MoinMoin/templates/blog/entry.html	Mon Oct 27 11:32:55 2014 -0700
@@ -1,5 +1,5 @@
 {% extends theme("blog/layout.html") %}
-{% import theme("blog/utils.html") as blog_utils %}
+{% import theme("blog/utils.html") as blog_utils with context %}
 
 {% block blog_content %}
     {% if blog_entry_item %}
--- a/MoinMoin/templates/blog/layout.html	Thu Oct 23 09:38:41 2014 -0700
+++ b/MoinMoin/templates/blog/layout.html	Mon Oct 27 11:32:55 2014 -0700
@@ -1,5 +1,5 @@
 {% extends theme("show.html") %}
-{% import theme("blog/utils.html") as blog_utils %}
+{% import theme("blog/utils.html") as blog_utils with context %}
 {% import "utils.html" as utils %}
 {% import "itemviews.html" as itemviews with context %}
 
--- a/MoinMoin/templates/blog/main.html	Thu Oct 23 09:38:41 2014 -0700
+++ b/MoinMoin/templates/blog/main.html	Mon Oct 27 11:32:55 2014 -0700
@@ -1,5 +1,5 @@
 {% extends theme("blog/layout.html") %}
-{% import theme("blog/utils.html") as blog_utils %}
+{% import theme("blog/utils.html") as blog_utils with context %}
 
 {% set no_entries_msg = _("There are no entries in this blog.") %}
 {% if tag %}