summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorAdriel Santiago <asantiago@gitlab.com>2019-05-07 14:47:09 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-05-07 14:47:09 +0000
commit3565ee2ed66bd064ab6bef96ab43c0be43f75e49 (patch)
tree8a636b3d3eea34911e84979f93bc111ee1a7d984 /app/views/projects
parent4ebfcd3b8fa69d7b0ccd2b826a517a18fad07eea (diff)
downloadgitlab-ce-3565ee2ed66bd064ab6bef96ab43c0be43f75e49.tar.gz
Add external dashboard link
Add settings for linking to external dashboard from metrics dashboard
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/settings/operations/_external_dashboard.html.haml2
-rw-r--r--app/views/projects/settings/operations/show.html.haml1
2 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/settings/operations/_external_dashboard.html.haml b/app/views/projects/settings/operations/_external_dashboard.html.haml
new file mode 100644
index 00000000000..2fbb9195a04
--- /dev/null
+++ b/app/views/projects/settings/operations/_external_dashboard.html.haml
@@ -0,0 +1,2 @@
+.js-operation-settings{ data: { external_dashboard: { path: '',
+ help_page_path: help_page_path('user/project/operations/link_to_external_dashboard') } } }
diff --git a/app/views/projects/settings/operations/show.html.haml b/app/views/projects/settings/operations/show.html.haml
index 6f777305a54..edc2c58a8ed 100644
--- a/app/views/projects/settings/operations/show.html.haml
+++ b/app/views/projects/settings/operations/show.html.haml
@@ -4,4 +4,5 @@
= render_if_exists 'projects/settings/operations/incidents'
= render 'projects/settings/operations/error_tracking', expanded: true
+= render 'projects/settings/operations/external_dashboard'
= render_if_exists 'projects/settings/operations/tracing'