diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-05-11 17:05:54 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-05-11 17:05:54 +0000 |
commit | ea5d43a3b8c01fb83d215a7eb15f246f26a34c64 (patch) | |
tree | f50d4200676a6bed99be22c04f8b516673d49f24 | |
parent | efed14d4783956dff415a40188f0f6db2385bb29 (diff) | |
parent | 3af84b4216c26b25f4fbe40996bbd41409552519 (diff) | |
download | gitlab-ce-ea5d43a3b8c01fb83d215a7eb15f246f26a34c64.tar.gz |
Merge branch 'use-common-vue-for-filtered-search' into 'master'
Ensure filtered_search utilizes common_vue bundle
See merge request !11273
-rw-r--r-- | app/views/projects/boards/_show.html.haml | 6 | ||||
-rw-r--r-- | app/views/projects/issues/index.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/merge_requests/index.html.haml | 3 | ||||
-rw-r--r-- | config/webpack.config.js | 1 |
4 files changed, 8 insertions, 5 deletions
diff --git a/app/views/projects/boards/_show.html.haml b/app/views/projects/boards/_show.html.haml index 7ca0ec8ed2b..efec69662f3 100644 --- a/app/views/projects/boards/_show.html.haml +++ b/app/views/projects/boards/_show.html.haml @@ -3,9 +3,9 @@ - page_title "Boards" - content_for :page_specific_javascripts do - = page_specific_javascript_bundle_tag('common_vue') - = page_specific_javascript_bundle_tag('filtered_search') - = page_specific_javascript_bundle_tag('boards') + = webpack_bundle_tag 'common_vue' + = webpack_bundle_tag 'filtered_search' + = webpack_bundle_tag 'boards' %script#js-board-template{ type: "text/x-template" }= render "projects/boards/components/board" %script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml index 4ac0bc1d028..60900e9d660 100644 --- a/app/views/projects/issues/index.html.haml +++ b/app/views/projects/issues/index.html.haml @@ -7,7 +7,8 @@ = render "projects/issues/head" - content_for :page_specific_javascripts do - = page_specific_javascript_bundle_tag('filtered_search') + = webpack_bundle_tag 'common_vue' + = webpack_bundle_tag 'filtered_search' = content_for :meta_tags do = auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@project.name} issues") diff --git a/app/views/projects/merge_requests/index.html.haml b/app/views/projects/merge_requests/index.html.haml index 6bf0035e051..502220232a1 100644 --- a/app/views/projects/merge_requests/index.html.haml +++ b/app/views/projects/merge_requests/index.html.haml @@ -8,7 +8,8 @@ = render 'projects/last_push' - content_for :page_specific_javascripts do - = page_specific_javascript_bundle_tag('filtered_search') + = webpack_bundle_tag 'common_vue' + = webpack_bundle_tag 'filtered_search' - if @project.merge_requests.exists? %div{ class: container_class } diff --git a/config/webpack.config.js b/config/webpack.config.js index 7e413c8493e..cb0ccdab74a 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -141,6 +141,7 @@ var config = { 'diff_notes', 'environments', 'environments_folder', + 'filtered_search', 'sidebar', 'issue_show', 'merge_conflicts', |