Move appearance settings as sub tab to application settings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
44b8b77e02
commit
73d431731f
|
@ -1,7 +1,7 @@
|
|||
- @no_container = true
|
||||
- page_title "Appearance"
|
||||
%h3.page-title
|
||||
Appearance settings
|
||||
%p.light
|
||||
You can modify the look and feel of GitLab here
|
||||
= render "admin/application_settings/head"
|
||||
|
||||
= render 'form'
|
||||
%div{ class: (container_class) }
|
||||
.prepend-top-default
|
||||
= render 'form'
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
.nav-links.sub-nav
|
||||
%ul{ class: (container_class) }
|
||||
= nav_link(controller: :application_settings) do
|
||||
= link_to admin_application_settings_path, title: 'Settings' do
|
||||
%span
|
||||
General
|
||||
|
||||
= nav_link(controller: :appearances) do
|
||||
= link_to admin_appearances_path, title: 'Appearances' do
|
||||
%span
|
||||
Appearance
|
|
@ -1,4 +1,7 @@
|
|||
- @no_container = true
|
||||
- page_title "Settings"
|
||||
%h3.page-title Settings
|
||||
%hr
|
||||
= render 'form'
|
||||
= render "admin/application_settings/head"
|
||||
|
||||
%div{ class: (container_class) }
|
||||
.prepend-top-default
|
||||
= render 'form'
|
||||
|
|
|
@ -21,11 +21,6 @@
|
|||
%span
|
||||
Hooks
|
||||
|
||||
= nav_link(controller: :appearances) do
|
||||
= link_to admin_appearances_path, title: 'Appearances' do
|
||||
%span
|
||||
Appearance
|
||||
|
||||
= nav_link(controller: :applications) do
|
||||
= link_to admin_applications_path, title: 'Applications' do
|
||||
%span
|
||||
|
@ -53,7 +48,7 @@
|
|||
%span
|
||||
Spam Logs
|
||||
|
||||
= nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
|
||||
= nav_link(controller: [:application_settings, :appearances]) do
|
||||
= link_to admin_application_settings_path, title: 'Settings' do
|
||||
%span
|
||||
Settings
|
||||
|
|
Loading…
Reference in New Issue