Show More
@@ -37,7 +37,8 b'' | |||||
37 |
|
37 | |||
38 | <%def name="menu_bar_subnav()"> |
|
38 | <%def name="menu_bar_subnav()"> | |
39 | %if c.repo_name: |
|
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 | %elif c.repo_group_name: |
|
42 | %elif c.repo_group_name: | |
42 | ${self.repo_group_menu(active='home')} |
|
43 | ${self.repo_group_menu(active='home')} | |
43 | %endif |
|
44 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now