changeset 2811:b1467856a638 beta

#551 show breadcrumbs in summary view for repositories inside a group
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 05 Sep 2012 23:10:32 +0200
parents 4a5c56da2603
children ad4bc0f66d6a
files docs/changelog.rst rhodecode/templates/admin/repos_groups/repos_groups.html rhodecode/templates/summary/summary.html
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/changelog.rst	Wed Sep 05 23:03:37 2012 +0200
+++ b/docs/changelog.rst	Wed Sep 05 23:10:32 2012 +0200
@@ -20,6 +20,7 @@
   later for light version of main page ref #500
 - pull request notifications send much nicer emails with details about pull
   request
+- #551 show breadcrumbs in summary view for repositories inside a group
 
 fixes
 +++++
--- a/rhodecode/templates/admin/repos_groups/repos_groups.html	Wed Sep 05 23:03:37 2012 +0200
+++ b/rhodecode/templates/admin/repos_groups/repos_groups.html	Wed Sep 05 23:10:32 2012 +0200
@@ -5,7 +5,8 @@
 </%def>
 
 <%def name="breadcrumbs()">
-    <span class="groups_breadcrumbs"> ${_('Groups')}
+    <span class="groups_breadcrumbs"> 
+    ${h.link_to(_(u'Home'),h.url('/'))}
     %if c.group.parent_group:
         &raquo; ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))}
     %endif
--- a/rhodecode/templates/summary/summary.html	Wed Sep 05 23:03:37 2012 +0200
+++ b/rhodecode/templates/summary/summary.html	Wed Sep 05 23:10:32 2012 +0200
@@ -7,7 +7,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.dbrepo.just_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.dbrepo.groups_and_repo)}
     &raquo;
     ${_('summary')}
 </%def>