kill old search waffle flags
This commit is contained in:
Родитель
1d241383c3
Коммит
09cc56785e
|
@ -1,8 +1,6 @@
|
|||
{% extends "base_ajax.html" if is_pjax else "impala/base_shared.html" %}
|
||||
|
||||
{% block bodyclass %}
|
||||
{{ 'pjax' if waffle.switch('ajax-search') }} {{ super() }}
|
||||
{% endblock %}
|
||||
{% block bodyclass %}pjax {{ super() }}{% endblock %}
|
||||
|
||||
{% if query.q %}
|
||||
{# L10n: {0} is a search term, such as Firebug. #}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
DELETE FROM waffle_switch WHERE name IN ('search-suggestions', 'ajax-search');
|
|
@ -17,7 +17,7 @@
|
|||
{% endif %}
|
||||
<button class="search-button" type="submit" title="{{ _('Search') }}"
|
||||
src="{{ media('img/zamboni/global/btn-search.png') }}"></button>
|
||||
{% if search_cat != 'collections' and waffle.switch('search-suggestions') %}
|
||||
{% if search_cat != 'collections' %}
|
||||
<div id="site-search-suggestions"
|
||||
data-cat="{{ search_placeholder or search_cat }}"
|
||||
data-src="{{ url('search.suggestions') }}"></div>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</span>
|
||||
<input id="search-button" type="image" class="submit search-button" title="{{ _('Search') }}"
|
||||
src="{{ media('img/zamboni/global/btn-search.png') }}">
|
||||
{% if search_cat != 'collections' and waffle.switch('search-suggestions') %}
|
||||
{% if search_cat != 'collections' %}
|
||||
<div id="site-search-suggestions"
|
||||
data-cat="{{ search_placeholder or search_cat }}"
|
||||
data-src="{{ url('search.suggestions') }}"></div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче