Mercurial > kallithea
changeset 3988:072a37c44f58
templates: drop context_bar, use repo_context_bar directly
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repo_edit.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/admin/repos/repo_edit.html Wed Jun 12 01:36:35 2013 +0200 @@ -17,7 +17,7 @@ </%def> <%def name="main()"> -${self.context_bar('options')} +${self.repo_context_bar('options')} <div class="box box-left"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/base/base.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/base/base.html Wed Jun 12 01:36:35 2013 +0200 @@ -64,10 +64,6 @@ </div> </%def> -<%def name="context_bar(current)"> - ${repo_context_bar(current)} -</%def> - <%def name="admin_menu()"> <ul class="admin_menu"> <li>${h.link_to(_('Admin journal'),h.url('admin_home'),class_='journal ')}</li>
--- a/rhodecode/templates/bookmarks/bookmarks.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/bookmarks/bookmarks.html Wed Jun 12 01:36:35 2013 +0200 @@ -15,7 +15,7 @@ </%def> <%def name="main()"> -${self.context_bar('switch-to')} +${self.repo_context_bar('switch-to')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/branches/branches.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/branches/branches.html Wed Jun 12 01:36:35 2013 +0200 @@ -15,7 +15,7 @@ </%def> <%def name="main()"> -${self.context_bar('switch-to')} +${self.repo_context_bar('switch-to')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/changelog/changelog.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/changelog/changelog.html Wed Jun 12 01:36:35 2013 +0200 @@ -24,7 +24,7 @@ </%def> <%def name="main()"> -${self.context_bar('changelog')} +${self.repo_context_bar('changelog')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/changeset/changeset.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/changeset/changeset.html Wed Jun 12 01:36:35 2013 +0200 @@ -15,7 +15,7 @@ </%def> <%def name="main()"> -${self.context_bar('changelog')} +${self.repo_context_bar('changelog')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/changeset/changeset_range.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/changeset/changeset_range.html Wed Jun 12 01:36:35 2013 +0200 @@ -14,7 +14,7 @@ </%def> <%def name="main()"> -${self.context_bar('changelog')} +${self.repo_context_bar('changelog')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/compare/compare_diff.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/compare/compare_diff.html Wed Jun 12 01:36:35 2013 +0200 @@ -14,7 +14,7 @@ </%def> <%def name="main()"> -${self.context_bar('changelog')} +${self.repo_context_bar('changelog')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/files/file_diff.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/files/file_diff.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ </%def> <%def name="main()"> -${self.context_bar('files')} +${self.repo_context_bar('files')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/files/files.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/files/files.html Wed Jun 12 01:36:35 2013 +0200 @@ -20,7 +20,7 @@ </%def> <%def name="main()"> -${self.context_bar('files')} +${self.repo_context_bar('files')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/files/files_add.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/files/files_add.html Wed Jun 12 01:36:35 2013 +0200 @@ -20,7 +20,7 @@ </%def> <%def name="main()"> -${self.context_bar('files')} +${self.repo_context_bar('files')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/files/files_edit.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/files/files_edit.html Wed Jun 12 01:36:35 2013 +0200 @@ -20,7 +20,7 @@ </%def> <%def name="main()"> -${self.context_bar('files')} +${self.repo_context_bar('files')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/followers/followers.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/followers/followers.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ ${self.menu('repositories')} </%def> <%def name="main()"> -${self.context_bar('followers')} +${self.repo_context_bar('followers')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/forks/fork.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/forks/fork.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ ${self.menu('repositories')} </%def> <%def name="main()"> -${self.context_bar('showforks')} +${self.repo_context_bar('showforks')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/forks/forks.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/forks/forks.html Wed Jun 12 01:36:35 2013 +0200 @@ -14,7 +14,7 @@ </%def> <%def name="main()"> -${self.context_bar('showforks')} +${self.repo_context_bar('showforks')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/pullrequests/pullrequest.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/pullrequests/pullrequest.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ </%def> <%def name="main()"> -${self.context_bar('showpullrequest')} +${self.repo_context_bar('showpullrequest')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/pullrequests/pullrequest_show.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/pullrequests/pullrequest_show.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ </%def> <%def name="main()"> -${self.context_bar('showpullrequest')} +${self.repo_context_bar('showpullrequest')} <div class="box"> <!-- box / title --> <div class="title">
--- a/rhodecode/templates/pullrequests/pullrequest_show_all.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html Wed Jun 12 01:36:35 2013 +0200 @@ -13,7 +13,7 @@ </%def> <%def name="main()"> -${self.context_bar('showpullrequest')} +${self.repo_context_bar('showpullrequest')} <div class="box"> <!-- box / title -->
--- a/rhodecode/templates/search/search.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/search/search.html Wed Jun 12 01:36:35 2013 +0200 @@ -30,7 +30,7 @@ </%def> <%def name="main()"> %if c.repo_name: -${self.context_bar('options')} +${self.repo_context_bar('options')} %endif <div class="box"> <!-- box / title -->
--- a/rhodecode/templates/summary/summary.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/summary/summary.html Wed Jun 12 01:36:35 2013 +0200 @@ -33,7 +33,7 @@ </%def> <%def name="main()"> -${self.context_bar('summary')} +${self.repo_context_bar('summary')} <% summary = lambda n:{False:'summary-short'}.get(n) %>
--- a/rhodecode/templates/tags/tags.html Wed Jun 12 01:36:35 2013 +0200 +++ b/rhodecode/templates/tags/tags.html Wed Jun 12 01:36:35 2013 +0200 @@ -15,7 +15,7 @@ </%def> <%def name="main()"> -${self.context_bar('switch-to')} +${self.repo_context_bar('switch-to')} <div class="box"> <!-- box / title --> <div class="title">