diff options
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/_results.html.haml | 2 | ||||
-rw-r--r-- | app/views/search/_results_list.html.haml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml index 99558f61b25..7399f51d7f8 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -1,5 +1,3 @@ -= render_if_exists 'shared/promotions/promote_advanced_search' - .gl-w-full.gl-flex-grow-1.gl-overflow-x-hidden = render partial: 'search/results_status' unless @search_objects.to_a.empty? = render partial: 'search/results_list' diff --git a/app/views/search/_results_list.html.haml b/app/views/search/_results_list.html.haml index fcbf0ba4452..ff79f003e7d 100644 --- a/app/views/search/_results_list.html.haml +++ b/app/views/search/_results_list.html.haml @@ -1,3 +1,6 @@ +.advanced-search-promote + = render_if_exists 'shared/promotions/promote_advanced_search' + - if @timeout = render partial: "search/results/timeout" - elsif @search_results.respond_to?(:failed?) && @search_results.failed? |