Author: rjollos
Date: Wed Mar  6 06:34:20 2013
New Revision: 1453170

URL: http://svn.apache.org/r1453170
Log:
Refs #162: Applied patch `t162_r1433074_bootstrap_revgraph.diff` from Olemis.

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1453170&r1=1453169&r2=1453170&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Wed Mar  6 
06:34:20 2013
@@ -113,7 +113,7 @@ class BloodhoundTheme(ThemeBase):
         'preview_file.html' : ('bh_preview_file.html', None),
 
         # Version control
-        'revisionlog.html' : ('bh_revisionlog.html', '_modify_generic_vcs'),
+        'revisionlog.html' : ('bh_revisionlog.html', '_modify_browser'),
         'browser.html' : ('bh_browser.html', '_modify_browser'),
         'dir_entries.html' : ('bh_dir_entries.html', None),
 
@@ -332,18 +332,14 @@ class BloodhoundTheme(ThemeBase):
                 res = Resource(resname, data['ticket'][resname])
                 data['path_show_' + resname] = permname in req.perm(res)
 
-    def _modify_generic_vcs(self, req, template, data, content_type, 
is_active):
+    def _modify_browser(self, req, template, data, content_type, is_active):
         """Locate path to file in breadcrumbs area rather than title.
+        Add browser-specific CSS.
         """
         data.update(dict(
                 resourcepath_template='bh_path_links.html',
                 path_depth_limit=2
             ))
-
-    def _modify_browser(self, req, template, data, content_type, is_active):
-        """Locate path to file in breadcrumbs area rather than title.
-        """
-        self._modify_generic_vcs(req, template, data, content_type, is_active)
         add_stylesheet(req, 'theme/css/browser.css')
 
     # INavigationContributor methods


Reply via email to