diff 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
line wrap: on
line diff
--- a/rhodecode/templates/search/search.html	Mon Mar 25 16:30:40 2013 +0100
+++ b/rhodecode/templates/search/search.html	Tue Mar 26 23:21:40 2013 +0100
@@ -29,7 +29,9 @@
     %endif
 </%def>
 <%def name="main()">
+%if c.repo_name:
 ${self.context_bar('options')}
+%endif
 <div class="box">
     <!-- box / title -->
     <div class="title">