Commit f9c5c7ae authored by Victor Zagorodny's avatar Victor Zagorodny

Add render_if_exists for sidebar and preferences

parent 87f299b5
......@@ -36,7 +36,7 @@
%span
= _('Activity')
= render_if_exists 'groups/sidebar/security_dashboard'
= render_if_exists 'groups/sidebar/security_dashboard' # EE-specific
- if group_sidebar_link?(:contribution_analytics)
= nav_link(path: 'analytics#show') do
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment