I have not found this to be a problem before. Do we know the circumstances that it doesn't work?

Cheers,
Gary

On 12/02/13 11:25, Peter Koželj wrote:
This change should not be necessary. If wiki pages were renamed, theme
postprocessing /should/ take care of the wiki links.
The problem I have with this commit is that this link will not work if used
with environment where wiki pages have not been renamed yet.

Peter

On 11 February 2013 17:56, <[email protected]> wrote:

Author: rjollos
Date: Mon Feb 11 16:56:53 2013
New Revision: 1444861

URL: http://svn.apache.org/r1444861
Log:
Refs #270: Redirect to Guide/RepositoryAdmin when repository browsing
hasn't been configured.

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=1444861&r1=1444860&r2=1444861&view=diff

==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Mon Feb
11 16:56:53 2013
@@ -339,7 +339,7 @@ class BloodhoundTheme(ThemeBase):
              if bm and not list(bm.get_navigation_items(req)):
                  yield ('mainnav', 'browser',
                         tag.a(_('Browse Source'),
-                             href=req.href.wiki('TracRepositoryAdmin')))
+                             href=req.href.wiki('Guide/RepositoryAdmin')))

  class QuickCreateTicketDialog(Component):
      implements(IRequestFilter, IRequestHandler)




Reply via email to