Search: use proper navigation
Also remove failing projectBrowseTypeList js
This commit is contained in:
@@ -1,7 +1,24 @@
|
||||
| {% extends 'layout.html' %}
|
||||
| {% from '_macros/_asset_list_item.html' import asset_list_item %}
|
||||
| {% from 'projects/_macros.html' import render_secondary_navigation %}
|
||||
| {% from '_macros/_navigation.html' import navigation_homepage %}
|
||||
include ../mixins/components
|
||||
|
||||
| {% if project %}
|
||||
| {% set title = 'search-project' %}
|
||||
| {{ render_secondary_navigation(project, navigation_links, title) }}
|
||||
| {% else %}
|
||||
| {% set title = 'search' %}
|
||||
| {% endif %}
|
||||
|
||||
| {% block navigation_tabs %}
|
||||
| {% if project %}
|
||||
| {{ render_secondary_navigation(project, navigation_links, title) }}
|
||||
| {% else %}
|
||||
| {{ navigation_homepage(title) }}
|
||||
| {% endif %}
|
||||
| {% endblock navigation_tabs %}
|
||||
|
||||
| {% block page_title %}Search{% if project %} {{ project.name }}{% endif %}{% endblock %}
|
||||
|
||||
| {% block head %}
|
||||
@@ -172,8 +189,6 @@ script.
|
||||
$(this).addClass('active');
|
||||
});
|
||||
|
||||
projectBrowseTypeList();
|
||||
|
||||
// Remove focus from search input so that the click event
|
||||
// bound to .search-hit can be fired on the first click.
|
||||
$('#search-list').hover(function(){
|
||||
|
Reference in New Issue
Block a user