##// END OF EJS Templates
search: pre-select menu entry when doing specialized searches for repository.
marcink -
r3783:0fee1faa default
parent child Browse files
Show More
@@ -37,7 +37,8 b''
37 37
38 38 <%def name="menu_bar_subnav()">
39 39 %if c.repo_name:
40 ${self.repo_menu(active='summary')}
40 <% active_entry = {'content':'files', 'path':'files', 'commit':'commits'}.get(c.search_type, 'summary')%>
41 ${self.repo_menu(active=active_entry)}
41 42 %elif c.repo_group_name:
42 43 ${self.repo_group_menu(active='home')}
43 44 %endif
General Comments 0
You need to be logged in to leave comments. Login now