Author: matevz Date: Fri Mar 15 13:58:56 2013 New Revision: 1456960 URL: http://svn.apache.org/r1456960 Log: Ref. #326, specific paths were incorrectly overridden by the dashboard
Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_dashboard/bhdashboard/web_ui.py Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_dashboard/bhdashboard/web_ui.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_dashboard/bhdashboard/web_ui.py?rev=1456960&r1=1456959&r2=1456960&view=diff ============================================================================== --- incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_dashboard/bhdashboard/web_ui.py (original) +++ incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_dashboard/bhdashboard/web_ui.py Fri Mar 15 13:58:56 2013 @@ -72,8 +72,9 @@ class DashboardModule(Component): """ if data is not None : data['bhdb'] = DashboardChrome(self.env) - if isinstance(req.perm.env, ProductEnvironment) and \ - data.get('product_list'): + if isinstance(req.perm.env, ProductEnvironment) \ + and not 'resourcepath_template' in data \ + and 'product_list' in data: data['resourcepath_template'] = 'bh_path_general.html' for item in req.chrome['nav'].get('mainnav', []): self.log.debug('%s' % (item,))