changeset 2325:e3447f9e98ee

Fixes missing itemviews in local panel
author sharky93 <rishabhr123@gmail.com>
date Sat, 13 Jul 2013 23:54:26 +0530
parents a3c2a9f3a009
children 0282b4a1e824
files MoinMoin/themes/basic/templates/show.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/show.html	Sat Jul 13 02:48:26 2013 +0530
+++ b/MoinMoin/themes/basic/templates/show.html	Sat Jul 13 23:54:26 2013 +0530
@@ -1,7 +1,7 @@
 {% extends theme("layout.html") %}
+{% set exists = storage.has_item(item_name) %}
 
 {% block views %}
-{% set exists = storage.has_item(item_name) %}
 
     <ul class="nav nav-tabs">
         {%- for endpoint, label, title, check_exists in cfg.item_views if not endpoint in cfg.endpoints_excluded %}