comparison rhodecode/templates/pullrequests/pullrequest_show.html @ 3609:2ea981f9da79 beta

templates: enforce more consistency by being less flexible in templates All pages must define page_nav. context_bar may only be used on relevant repository pages, and the 'current' parameter is mandatory.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 26 Mar 2013 23:21:40 +0100
parents bb1eecda3172
children 8a8a559eaf95
comparison
equal deleted inserted replaced
3608:87b0a652b6b1 3609:2ea981f9da79
4 ${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)} &middot; ${c.rhodecode_name} 4 ${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)} &middot; ${c.rhodecode_name}
5 </%def> 5 </%def>
6 6
7 <%def name="breadcrumbs_links()"> 7 <%def name="breadcrumbs_links()">
8 ${_('Pull request #%s') % c.pull_request.pull_request_id} 8 ${_('Pull request #%s') % c.pull_request.pull_request_id}
9 </%def>
10
11 <%def name="page_nav()">
12 ${self.menu('repositories')}
9 </%def> 13 </%def>
10 14
11 <%def name="main()"> 15 <%def name="main()">
12 ${self.context_bar('showpullrequest')} 16 ${self.context_bar('showpullrequest')}
13 <div class="box"> 17 <div class="box">