changeset 2454:d4d377f4e56f

moves Similar to the tabs, since its also a view, not a User Action
author sharky93 <rishabhr123@gmail.com>
date Sun, 08 Sep 2013 22:28:54 +0530
parents 303fed8f1f56
children 780b7c4c49e2
files MoinMoin/themes/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sun Sep 08 22:26:00 2013 +0530
+++ b/MoinMoin/themes/__init__.py	Sun Sep 08 22:28:54 2013 +0530
@@ -82,7 +82,7 @@
     def get_action_tabs(self, item_name, current_endpoint):
         navtabs_endpoints = ['frontend.show_item', 'frontend.history',
                             'frontend.show_item_meta', 'frontend.highlight_item', 'frontend.backrefs',
-                            'frontend.index', 'frontend.sitemap',
+                            'frontend.index', 'frontend.sitemap','frontend.similar_names',
                             ]
         if self.user.may.write(item_name):
             navtabs_endpoints.append('frontend.modify_item')
@@ -118,7 +118,7 @@
         user_actions_endpoints = ['frontend.quicklink_item', 'frontend.subscribe_item', ]
         item_navigation_endpoints = ['special.supplementation']
         item_actions_endpoints = ['frontend.rename_item', 'frontend.delete_item', 'frontend.destroy_item',
-                'frontend.similar_names', 'frontend.download_item', 
+                'frontend.download_item', 
                 'frontend.copy_item',] if self.user.may.write(item_name) else []
 
         user_actions = []