##// END OF EJS Templates
templates: enforce more consistency by being less flexible in templates...
Mads Kiilerich -
r3609:2ea981f9 beta
parent child Browse files
Show More
@@ -51,20 +51,14 b''
51 51 <!-- END FOOTER -->
52 52
53 53 ### MAKO DEFS ###
54 <%def name="page_nav()">
55 ${self.menu()}
56 </%def>
57
58 54 <%def name="breadcrumbs()">
59 55 <div class="breadcrumbs">
60 56 ${self.breadcrumbs_links()}
61 57 </div>
62 58 </%def>
63 59
64 <%def name="context_bar(current=None)">
65 %if c.repo_name:
60 <%def name="context_bar(current)">
66 61 ${repo_context_bar(current)}
67 %endif
68 62 </%def>
69 63
70 64 <%def name="admin_menu()">
@@ -9,6 +9,10 b''
9 9 ${_('Forks')}
10 10 </%def>
11 11
12 <%def name="page_nav()">
13 ${self.menu('repositories')}
14 </%def>
15
12 16 <%def name="main()">
13 17 ${self.context_bar('showforks')}
14 18 <div class="box">
@@ -8,6 +8,10 b''
8 8 ${_('New pull request')}
9 9 </%def>
10 10
11 <%def name="page_nav()">
12 ${self.menu('repositories')}
13 </%def>
14
11 15 <%def name="main()">
12 16 ${self.context_bar('showpullrequest')}
13 17 <div class="box">
@@ -8,6 +8,10 b''
8 8 ${_('Pull request #%s') % c.pull_request.pull_request_id}
9 9 </%def>
10 10
11 <%def name="page_nav()">
12 ${self.menu('repositories')}
13 </%def>
14
11 15 <%def name="main()">
12 16 ${self.context_bar('showpullrequest')}
13 17 <div class="box">
@@ -8,6 +8,10 b''
8 8 ${_('Pull requests')}
9 9 </%def>
10 10
11 <%def name="page_nav()">
12 ${self.menu('repositories')}
13 </%def>
14
11 15 <%def name="main()">
12 16 ${self.context_bar('showpullrequest')}
13 17 <div class="box">
@@ -29,7 +29,9 b''
29 29 %endif
30 30 </%def>
31 31 <%def name="main()">
32 %if c.repo_name:
32 33 ${self.context_bar('options')}
34 %endif
33 35 <div class="box">
34 36 <!-- box / title -->
35 37 <div class="title">
General Comments 0
You need to be logged in to leave comments. Login now