changeset 2383:1430714a7924

fixes multiple checking for item_actions by removing one from template
author sharky93 <rishabhr123@gmail.com>
date Sat, 17 Aug 2013 03:27:45 +0530
parents 0ce1c8ec7738
children c443cca70e67
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 Aug 17 02:50:44 2013 +0530
+++ b/MoinMoin/themes/basic/templates/show.html	Sat Aug 17 03:27:45 2013 +0530
@@ -86,7 +86,7 @@
     {%- for endpoint, label, title, check_exists in cfg.item_views if not endpoint in cfg.endpoints_excluded %}
         {%- if not check_exists or check_exists and exists %}
 
-            {%- if endpoint in item_actions and user.may.write(item_name) %}
+            {%- if endpoint in item_actions %}
                 <a class="list-group-item" href="{{ url_for(endpoint, item_name=item_name) }}" title="{{ title }}" rel="nofollow">
                 <span class="icon-stack">
                     <i class={{icon[endpoint]}}></i>