diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-02-21 01:53:15 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-02-21 01:53:15 +0100 |
commit | 6a2e55a2b22721eeffd2f8a672984b98d15be2a0 (patch) | |
tree | a9eeb3054fcf4fa7806f44398e8c4bf4537f4e61 /rhodecode | |
parent | 60a6c6c5f485c373223df3268c182893d17536f1 (diff) |
unified breadcrumbs display
--HG--
branch : beta
extra : amend_source : 69b277d9297cd2bfe6aefceddd9d97602385f156
Diffstat (limited to 'rhodecode')
22 files changed, 35 insertions, 29 deletions
diff --git a/rhodecode/templates/admin/defaults/defaults.html b/rhodecode/templates/admin/defaults/defaults.html index ed06c21a..140da8c7 100644 --- a/rhodecode/templates/admin/defaults/defaults.html +++ b/rhodecode/templates/admin/defaults/defaults.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('Defaults')} + ${_('defaults')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/ldap/ldap.html b/rhodecode/templates/admin/ldap/ldap.html index 36c58eb7..5bf26a38 100644 --- a/rhodecode/templates/admin/ldap/ldap.html +++ b/rhodecode/templates/admin/ldap/ldap.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('Ldap')} + ${_('ldap')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/permissions/permissions.html b/rhodecode/templates/admin/permissions/permissions.html index ff996071..4ffecde7 100644 --- a/rhodecode/templates/admin/permissions/permissions.html +++ b/rhodecode/templates/admin/permissions/permissions.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('Permissions')} + ${_('permissions')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html index 74b6687a..0b12f9b1 100644 --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » ${_('edit')} </%def> diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_show.html b/rhodecode/templates/admin/repos_groups/repos_groups_show.html index 1a771bf4..9aa55d8a 100644 --- a/rhodecode/templates/admin/repos_groups/repos_groups_show.html +++ b/rhodecode/templates/admin/repos_groups/repos_groups_show.html @@ -7,7 +7,9 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Repositories')} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${_('repositories groups')} </%def> <%def name="page_nav()"> ${self.menu('admin')} diff --git a/rhodecode/templates/admin/settings/settings.html b/rhodecode/templates/admin/settings/settings.html index 05988359..c7539419 100644 --- a/rhodecode/templates/admin/settings/settings.html +++ b/rhodecode/templates/admin/settings/settings.html @@ -6,7 +6,9 @@ </%def> <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Settings')} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${_('settings')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/admin/users_groups/users_groups.html b/rhodecode/templates/admin/users_groups/users_groups.html index 7eebae4d..a9c14759 100644 --- a/rhodecode/templates/admin/users_groups/users_groups.html +++ b/rhodecode/templates/admin/users_groups/users_groups.html @@ -6,7 +6,9 @@ </%def> <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Users groups')} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${_('users groups')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/bookmarks/bookmarks.html b/rhodecode/templates/bookmarks/bookmarks.html index 8b04d1ca..c0636263 100644 --- a/rhodecode/templates/bookmarks/bookmarks.html +++ b/rhodecode/templates/bookmarks/bookmarks.html @@ -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('/'))} » - ${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)} » ${_('bookmarks')} </%def> diff --git a/rhodecode/templates/branches/branches.html b/rhodecode/templates/branches/branches.html index 6b860a74..28cc919d 100644 --- a/rhodecode/templates/branches/branches.html +++ b/rhodecode/templates/branches/branches.html @@ -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('/'))} » - ${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)} » ${_('branches')} </%def> diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html index 1eb64074..e52c2a8d 100644 --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -9,10 +9,10 @@ ${_('%s Changelog') % c.repo_name} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » <% 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()"> diff --git a/rhodecode/templates/changeset/changeset.html b/rhodecode/templates/changeset/changeset.html index 9b0012d6..8a20d7a3 100644 --- a/rhodecode/templates/changeset/changeset.html +++ b/rhodecode/templates/changeset/changeset.html @@ -9,9 +9,9 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » - ${_('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()"> diff --git a/rhodecode/templates/compare/compare_diff.html b/rhodecode/templates/compare/compare_diff.html index 5229fee5..cf173f02 100644 --- a/rhodecode/templates/compare/compare_diff.html +++ b/rhodecode/templates/compare/compare_diff.html @@ -8,9 +8,9 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » - ${_('Compare')} + ${_('compare')} </%def> <%def name="page_nav()"> diff --git a/rhodecode/templates/files/files.html b/rhodecode/templates/files/files.html index 335b1885..a121d038 100644 --- a/rhodecode/templates/files/files.html +++ b/rhodecode/templates/files/files.html @@ -7,7 +7,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » ${_('files')} %if c.file: diff --git a/rhodecode/templates/followers/followers.html b/rhodecode/templates/followers/followers.html index d7374730..fca6b3d1 100644 --- a/rhodecode/templates/followers/followers.html +++ b/rhodecode/templates/followers/followers.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » ${_('followers')} </%def> diff --git a/rhodecode/templates/forks/fork.html b/rhodecode/templates/forks/fork.html index 8751916d..62d04d63 100644 --- a/rhodecode/templates/forks/fork.html +++ b/rhodecode/templates/forks/fork.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » ${_('fork')} </%def> diff --git a/rhodecode/templates/forks/forks.html b/rhodecode/templates/forks/forks.html index 43a11554..2cf9e8b1 100644 --- a/rhodecode/templates/forks/forks.html +++ b/rhodecode/templates/forks/forks.html @@ -8,7 +8,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » ${_('forks')} </%def> diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html index ad3d603d..f60c2ad4 100644 --- a/rhodecode/templates/pullrequests/pullrequest.html +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -7,9 +7,9 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » - ${_('New pull request')} + ${_('new pull request')} </%def> <%def name="main()"> diff --git a/rhodecode/templates/pullrequests/pullrequest_show_all.html b/rhodecode/templates/pullrequests/pullrequest_show_all.html index 2ded244f..9b80a495 100644 --- a/rhodecode/templates/pullrequests/pullrequest_show_all.html +++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html @@ -7,9 +7,9 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » - ${_('All pull requests')} + ${_('pull requests')} </%def> <%def name="main()"> diff --git a/rhodecode/templates/search/search.html b/rhodecode/templates/search/search.html index e482c606..1455fbab 100644 --- a/rhodecode/templates/search/search.html +++ b/rhodecode/templates/search/search.html @@ -13,11 +13,11 @@ %if c.repo_name: ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » - ${_('Search')} + ${_('search')} %else: - ${_('Search in all repositories')} + ${_('search in all repositories')} %endif %if c.cur_query: » diff --git a/rhodecode/templates/shortlog/shortlog.html b/rhodecode/templates/shortlog/shortlog.html index 64c3aa32..73ac6cca 100644 --- a/rhodecode/templates/shortlog/shortlog.html +++ b/rhodecode/templates/shortlog/shortlog.html @@ -9,7 +9,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${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)} » %if c.file_history: ${h.link_to(_('shortlog'),h.url('shortlog_home',repo_name=c.repo_name))} diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html index e7c72ff5..70773c8a 100644 --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -7,7 +7,7 @@ <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » - ${h.repo_link(c.dbrepo.groups_and_repo)} + ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} » ${_('summary')} </%def> diff --git a/rhodecode/templates/tags/tags.html b/rhodecode/templates/tags/tags.html index 7799cca8..0977c1a4 100644 --- a/rhodecode/templates/tags/tags.html +++ b/rhodecode/templates/tags/tags.html @@ -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('/'))} » - ${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)} » ${_('tags')} </%def> |