summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-01-06 13:59:10 +0100
committerPeter Leitzen <pleitzen@gitlab.com>2019-01-06 15:13:14 +0100
commitb78ac977eeb8d631ff6c56674d8c081a3249138b (patch)
tree96e1ce80845578485c2229d8e51e940910f9ac44 /app/views
parent1aa2ac13b95b9fa9527596610bb07e132dc1a6f0 (diff)
downloadgitlab-ce-b78ac977eeb8d631ff6c56674d8c081a3249138b.tar.gz
Move settings operations controller from EE to CEmove-settings-oprations-to-ce
This commit prepares the structure for the upcoming feature error tracking.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/nav/sidebar/_project.html.haml5
-rw-r--r--app/views/projects/settings/operations/show.html.haml4
2 files changed, 8 insertions, 1 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml
index d8017742c90..e516c76400a 100644
--- a/app/views/layouts/nav/sidebar/_project.html.haml
+++ b/app/views/layouts/nav/sidebar/_project.html.haml
@@ -339,7 +339,10 @@
= link_to project_settings_ci_cd_path(@project), title: _('CI / CD') do
%span
= _('CI / CD')
- = render_if_exists 'projects/sidebar/settings_operations'
+ - if settings_operations_available?
+ = nav_link(controller: [:operations]) do
+ = link_to project_settings_operations_path(@project), title: _('Operations') do
+ = _('Operations')
- if @project.pages_available?
= nav_link(controller: :pages) do
= link_to project_pages_path(@project), title: _('Pages') do
diff --git a/app/views/projects/settings/operations/show.html.haml b/app/views/projects/settings/operations/show.html.haml
new file mode 100644
index 00000000000..0782029dbcd
--- /dev/null
+++ b/app/views/projects/settings/operations/show.html.haml
@@ -0,0 +1,4 @@
+- @content_class = 'limit-container-width' unless fluid_layout
+- page_title _('Operations')
+
+= render_if_exists 'projects/settings/operations/tracing'