Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-05-05 03:29:56 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-05-05 03:32:06 +0300
commit1dc2b4693e4a58c94e556ae219ae6200044f95dc (patch)
treeb61a1b228ee92008c181554837a93b1c4d24b441
parent5bce197b617f2542430db7aecec321cf1619de72 (diff)
Add “groups” JS bundle
-rw-r--r--app/assets/javascripts/groups/index.js3
-rw-r--r--app/views/dashboard/groups/index.html.haml2
-rw-r--r--config/webpack.config.js1
3 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/groups/index.js b/app/assets/javascripts/groups/index.js
new file mode 100644
index 00000000000..c0e083ef635
--- /dev/null
+++ b/app/assets/javascripts/groups/index.js
@@ -0,0 +1,3 @@
+$(() => {
+ // Groups bundle
+}); \ No newline at end of file
diff --git a/app/views/dashboard/groups/index.html.haml b/app/views/dashboard/groups/index.html.haml
index 0d35d11fb63..bf1013c685b 100644
--- a/app/views/dashboard/groups/index.html.haml
+++ b/app/views/dashboard/groups/index.html.haml
@@ -2,6 +2,8 @@
- header_title "Groups", dashboard_groups_path
= render 'dashboard/groups_head'
+= page_specific_javascript_bundle_tag('groups')
+
- if @groups.empty?
= render 'empty_state'
- else
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 0ec9e48845e..966b1e2283e 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -32,6 +32,7 @@ var config = {
filtered_search: './filtered_search/filtered_search_bundle.js',
graphs: './graphs/graphs_bundle.js',
group: './group.js',
+ groups: './groups/index.js',
groups_list: './groups_list.js',
issuable: './issuable/issuable_bundle.js',
issue_show: './issue_show/index.js',