changeset 3392:f74be3359044 beta

unified breadcrumbs display
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 21 Feb 2013 01:53:15 +0100
parents f282c81ff532
children f2425f427f8e
files rhodecode/templates/admin/defaults/defaults.html rhodecode/templates/admin/ldap/ldap.html rhodecode/templates/admin/permissions/permissions.html rhodecode/templates/admin/repos/repo_edit.html rhodecode/templates/admin/repos_groups/repos_groups_show.html rhodecode/templates/admin/settings/settings.html rhodecode/templates/admin/users_groups/users_groups.html rhodecode/templates/bookmarks/bookmarks.html rhodecode/templates/branches/branches.html rhodecode/templates/changelog/changelog.html rhodecode/templates/changeset/changeset.html rhodecode/templates/compare/compare_diff.html rhodecode/templates/files/files.html rhodecode/templates/followers/followers.html rhodecode/templates/forks/fork.html rhodecode/templates/forks/forks.html rhodecode/templates/pullrequests/pullrequest.html rhodecode/templates/pullrequests/pullrequest_show_all.html rhodecode/templates/search/search.html rhodecode/templates/shortlog/shortlog.html rhodecode/templates/summary/summary.html rhodecode/templates/tags/tags.html
diffstat 22 files changed, 35 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/defaults/defaults.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/defaults/defaults.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     &raquo;
-    ${_('Defaults')}
+    ${_('defaults')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/admin/ldap/ldap.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/ldap/ldap.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     &raquo;
-    ${_('Ldap')}
+    ${_('ldap')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/admin/permissions/permissions.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/permissions/permissions.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_('Admin'),h.url('admin_home'))}
     &raquo;
-    ${_('Permissions')}
+    ${_('permissions')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/admin/repos/repo_edit.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/repos/repo_edit.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('edit')}
 </%def>
--- a/rhodecode/templates/admin/repos_groups/repos_groups_show.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/repos_groups/repos_groups_show.html	Thu Feb 21 01:53:15 2013 +0100
@@ -7,7 +7,9 @@
 
 
 <%def name="breadcrumbs_links()">
-    ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Repositories')}
+    ${h.link_to(_('Admin'),h.url('admin_home'))}
+    &raquo;
+    ${_('repositories groups')}
 </%def>
 <%def name="page_nav()">
     ${self.menu('admin')}
--- a/rhodecode/templates/admin/settings/settings.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/settings/settings.html	Thu Feb 21 01:53:15 2013 +0100
@@ -6,7 +6,9 @@
 </%def>
 
 <%def name="breadcrumbs_links()">
-    ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')}
+    ${h.link_to(_('Admin'),h.url('admin_home'))}
+    &raquo;
+    ${_('settings')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/admin/users_groups/users_groups.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/admin/users_groups/users_groups.html	Thu Feb 21 01:53:15 2013 +0100
@@ -6,7 +6,9 @@
 </%def>
 
 <%def name="breadcrumbs_links()">
-    ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Users groups')}
+    ${h.link_to(_('Admin'),h.url('admin_home'))}
+    &raquo;
+    ${_('users groups')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/bookmarks/bookmarks.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/bookmarks/bookmarks.html	Thu Feb 21 01:53:15 2013 +0100
@@ -10,7 +10,7 @@
     <input class="q_filter_box" id="q_filter_bookmarks" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('bookmarks')}
 </%def>
--- a/rhodecode/templates/branches/branches.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/branches/branches.html	Thu Feb 21 01:53:15 2013 +0100
@@ -9,7 +9,7 @@
     <input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('branches')}
 </%def>
--- a/rhodecode/templates/changelog/changelog.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/changelog/changelog.html	Thu Feb 21 01:53:15 2013 +0100
@@ -9,10 +9,10 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     <% size = c.size if c.size <= c.total_cs else c.total_cs %>
-    ${_('Changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)}
+    ${_('changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/changeset/changeset.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/changeset/changeset.html	Thu Feb 21 01:53:15 2013 +0100
@@ -9,9 +9,9 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
-    ${_('Changeset')} - <span class='hash'>r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)}</span>
+    ${_('changeset')} - <span class='hash'>r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)}</span>
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/compare/compare_diff.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/compare/compare_diff.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,9 +8,9 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
-    ${_('Compare')}
+    ${_('compare')}
 </%def>
 
 <%def name="page_nav()">
--- a/rhodecode/templates/files/files.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/files/files.html	Thu Feb 21 01:53:15 2013 +0100
@@ -7,7 +7,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('files')}
     %if c.file:
--- a/rhodecode/templates/followers/followers.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/followers/followers.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('followers')}
 </%def>
--- a/rhodecode/templates/forks/fork.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/forks/fork.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('fork')}
 </%def>
--- a/rhodecode/templates/forks/forks.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/forks/forks.html	Thu Feb 21 01:53:15 2013 +0100
@@ -8,7 +8,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('forks')}
 </%def>
--- a/rhodecode/templates/pullrequests/pullrequest.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest.html	Thu Feb 21 01:53:15 2013 +0100
@@ -7,9 +7,9 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
-    ${_('New pull request')}
+    ${_('new pull request')}
 </%def>
 
 <%def name="main()">
--- a/rhodecode/templates/pullrequests/pullrequest_show_all.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html	Thu Feb 21 01:53:15 2013 +0100
@@ -7,9 +7,9 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
-    ${_('All pull requests')}
+    ${_('pull requests')}
 </%def>
 
 <%def name="main()">
--- a/rhodecode/templates/search/search.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/search/search.html	Thu Feb 21 01:53:15 2013 +0100
@@ -13,11 +13,11 @@
   %if c.repo_name:
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
-    ${_('Search')}
+    ${_('search')}
   %else:
-    ${_('Search in all repositories')}
+    ${_('search in all repositories')}
   %endif
   %if c.cur_query:
     &raquo;
--- a/rhodecode/templates/shortlog/shortlog.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/shortlog/shortlog.html	Thu Feb 21 01:53:15 2013 +0100
@@ -9,7 +9,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     %if c.file_history:
         ${h.link_to(_('shortlog'),h.url('shortlog_home',repo_name=c.repo_name))}
--- a/rhodecode/templates/summary/summary.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/summary/summary.html	Thu Feb 21 01:53:15 2013 +0100
@@ -7,7 +7,7 @@
 <%def name="breadcrumbs_links()">
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.repo_link(c.dbrepo.groups_and_repo)}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('summary')}
 </%def>
--- a/rhodecode/templates/tags/tags.html	Thu Feb 21 00:41:48 2013 +0100
+++ b/rhodecode/templates/tags/tags.html	Thu Feb 21 01:53:15 2013 +0100
@@ -10,7 +10,7 @@
     <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
     ${h.link_to(_(u'Home'),h.url('/'))}
     &raquo;
-    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
+    ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)}
     &raquo;
     ${_('tags')}
 </%def>