diff rhodecode/lib/helpers.py @ 1547:fbc762ae3496 beta

unified generation of repo groups choices added on-the-fly conversion to new repository groups format (supporting path as a link)
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 11 Oct 2011 23:39:03 +0200
parents 236090bf758f
children 752b0a7b7679 cbc2b1913cdf
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Tue Oct 11 21:38:27 2011 +0200
+++ b/rhodecode/lib/helpers.py	Tue Oct 11 23:39:03 2011 +0200
@@ -598,12 +598,11 @@
         return repo_name
     else:
         def make_link(group):
-            return link_to(group.group_name, url('repos_group',
-                                                 id=group.group_id))
+            return link_to(group.name, url('repos_group_home',
+                                           group_name=group.group_name))
         return literal(' &raquo; '.join(map(make_link, groups)) + \
                        " &raquo; " + repo_name)
 
-
 def fancy_file_stats(stats):
     """
     Displays a fancy two colored bar for number of added/deleted