changeset 260:51e077feea0b

revert changset 50cc68af8874 because of issues itemviews (and maybe other templates) need the context, so "without context" gives wrong results. Armin Ronacher told to fix the "with context" pypy performance issue in jinja2, so we'll just wait for that.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 25 Jun 2011 18:08:04 +0200
parents 50cc68af8874
children 4c5e7dbfe63d d1b8dc0abe68
files MoinMoin/templates/base.html MoinMoin/templates/layout.html MoinMoin/templates/show.html
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/base.html	Sat Jun 25 17:04:58 2011 +0200
+++ b/MoinMoin/templates/base.html	Sat Jun 25 18:08:04 2011 +0200
@@ -1,5 +1,5 @@
 <!DOCTYPE html>{# this is html5, xmlish variant #}
-{%- import "snippets.html" as snippets without context %}
+{%- import "snippets.html" as snippets with context %}
 {%- set head = snippets.head() %}
 {%- set scripts = snippets.scripts() %}
 {%- set stylesheets = snippets.stylesheets() %}
--- a/MoinMoin/templates/layout.html	Sat Jun 25 17:04:58 2011 +0200
+++ b/MoinMoin/templates/layout.html	Sat Jun 25 18:08:04 2011 +0200
@@ -1,7 +1,7 @@
-{% import "forms.html" as forms without context %}
+{% import "forms.html" as forms %}
 {% extends "base.html" %}
 
-{% import "snippets.html" as snippets without context %}
+{% import "snippets.html" as snippets with context %}
 {% set logo = snippets.logo() %}
 {% set before_header = snippets.before_header() %}
 {% set after_header = snippets.after_header() %}
--- a/MoinMoin/templates/show.html	Sat Jun 25 17:04:58 2011 +0200
+++ b/MoinMoin/templates/show.html	Sat Jun 25 18:08:04 2011 +0200
@@ -10,7 +10,7 @@
     {%- endif %}
 {% endblock %}
 
-{% import "itemviews.html" as itemviews without context %}
+{% import "itemviews.html" as itemviews with context %}
 
 {% block header_itemviews %}
     {{ itemviews }}