summaryrefslogtreecommitdiff
path: root/app/views/profiles
diff options
context:
space:
mode:
authorVictor Zagorodny <vzagorodny@gitlab.com>2019-01-24 23:17:36 +0200
committerVictor Zagorodny <vzagorodny@gitlab.com>2019-02-05 13:14:53 +0200
commitf9c5c7aece95df650fb628b9068d0e59e5018e67 (patch)
tree41f17e8b378087dd9d3972b28d4f60046e2aa470 /app/views/profiles
parent87f299b5d68a398f582fc5a2b65adecb22e9110d (diff)
downloadgitlab-ce-f9c5c7aece95df650fb628b9068d0e59e5018e67.tar.gz
Add render_if_exists for sidebar and preferences
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/preferences/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index 7c378633667..c1616810185 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -51,6 +51,9 @@
= f.label :dashboard, class: 'label-bold' do
Default dashboard
= f.select :dashboard, dashboard_choices, {}, class: 'form-control'
+
+ = render_if_exists 'profiles/preferences/group_overview_selector', f: f # EE-specific
+
.form-group
= f.label :project_view, class: 'label-bold' do
Project overview content