Author: gjm
Date: Mon Apr 22 14:32:42 2013
New Revision: 1470547

URL: http://svn.apache.org/r1470547
Log:
removing product link from main navigation (r1470540 was really for the new 
ticket link) - #321

Modified:
    bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py

Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1470547&r1=1470546&r2=1470547&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py (original)
+++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py Mon Apr 22 
14:32:42 2013
@@ -39,15 +39,7 @@ from multiproduct.hooks import PRODUCT_R
 class ProductModule(Component):
     """Base Product behaviour"""
 
-    implements(IRequestHandler, INavigationContributor)
-
-    def get_active_navigation_item(self, req):
-        return 'products'
-    
-    def get_navigation_items(self, req):
-        if 'PRODUCT_VIEW' in req.perm:
-            yield ('mainnav', 'products',
-                   tag.a(_('Products'), href=req.href.products(), accesskey=3))
+    implements(IRequestHandler)
 
     # IRequestHandler methods
     def match_request(self, req):


Reply via email to