diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-15 16:11:37 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-09 16:01:30 -0600 |
commit | 4f774c940f1bbcadaead168e6ee5dd5c54864c7f (patch) | |
tree | cd390bb0da4572a09fa4cf1bce55ede2fdbe607f | |
parent | cc34439d56b35f2175c979ed85b655280bbdd899 (diff) | |
download | gitlab-ce-4f774c940f1bbcadaead168e6ee5dd5c54864c7f.tar.gz |
Remove if issue.boards since search bar does not display on issue boards page
-rw-r--r-- | app/views/shared/issuable/_search_bar.html.haml | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml index aca39941381..896769768eb 100644 --- a/app/views/shared/issuable/_search_bar.html.haml +++ b/app/views/shared/issuable/_search_bar.html.haml @@ -82,20 +82,7 @@ %span.label-title.js-data-value {{title}} .pull-right - - if boards_page - #js-boards-seach.issue-boards-search - %input.pull-left.form-control{ type: "search", placeholder: "Filter by name...", "v-model" => "filters.search", "debounce" => "250" } - - if can?(current_user, :admin_list, @project) - .dropdown.pull-right - %button.btn.btn-create.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path, namespace_path: @project.try(:namespace).try(:path), project_path: @project.try(:path) } } - Create new list - .dropdown-menu.dropdown-menu-paging.dropdown-menu-align-right.dropdown-menu-issues-board-new.dropdown-menu-selectable - = render partial: "shared/issuable/label_page_default", locals: { show_footer: true, show_create: true, show_boards_content: true, title: "Create a new list" } - - if can?(current_user, :admin_label, @project) - = render partial: "shared/issuable/label_page_create" - = dropdown_loading - - else - = render 'shared/sort_dropdown' + = render 'shared/sort_dropdown' - if @bulk_edit .issues_bulk_update.hide |