summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAdriel Santiago <asantiago@gitlab.com>2019-06-04 17:55:52 +0000
committerFatih Acet <acetfatih@gmail.com>2019-06-04 17:55:52 +0000
commit57f6be00bcaa20287c696d67128655738d740b8b (patch)
tree7796036d0976a9205f37fd401e7e3f1d7eaa6bd9 /app/views
parent52b2b32517b3782cd009dc2a209c0eb274ddf3ce (diff)
downloadgitlab-ce-57f6be00bcaa20287c696d67128655738d740b8b.tar.gz
Handle external dashboard form submission
Connect frontend UI with backend api for external dashboard link
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/settings/operations/_external_dashboard.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/settings/operations/_external_dashboard.html.haml b/app/views/projects/settings/operations/_external_dashboard.html.haml
index f049c35b38d..a124283921d 100644
--- a/app/views/projects/settings/operations/_external_dashboard.html.haml
+++ b/app/views/projects/settings/operations/_external_dashboard.html.haml
@@ -1,2 +1,3 @@
-.js-operation-settings{ data: { external_dashboard: { path: metrics_external_dashboard_url,
+.js-operation-settings{ data: { operations_settings_endpoint: project_settings_operations_path(@project),
+ external_dashboard: { url: metrics_external_dashboard_url,
help_page_path: help_page_path('user/project/operations/link_to_external_dashboard') } } }