comparison rhodecode/templates/search/search.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 eacd33e0c5b3
children 4930abd96a7e
comparison
equal deleted inserted replaced
3608:87b0a652b6b1 3609:2ea981f9da79
27 %else: 27 %else:
28 ${self.menu('search')} 28 ${self.menu('search')}
29 %endif 29 %endif
30 </%def> 30 </%def>
31 <%def name="main()"> 31 <%def name="main()">
32 %if c.repo_name:
32 ${self.context_bar('options')} 33 ${self.context_bar('options')}
34 %endif
33 <div class="box"> 35 <div class="box">
34 <!-- box / title --> 36 <!-- box / title -->
35 <div class="title"> 37 <div class="title">
36 ${self.breadcrumbs()} 38 ${self.breadcrumbs()}
37 </div> 39 </div>