diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-03-26 20:03:34 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-03-26 20:03:39 +0300 |
commit | 6f9ea7cb64d50ba65b8a05ff61096b6dd3f3f00f (patch) | |
tree | d528774a358ff88bbae289f354511386870dca0a /app/views/admin/application_settings/show.html.haml | |
parent | e4587cf0e642464e1ef53903ac167300af44e3b3 (diff) | |
download | gitlab-ce-6f9ea7cb64d50ba65b8a05ff61096b6dd3f3f00f.tar.gz |
Improve application settings page according to feedback
* Replace btn-save with btn-success
* Add id to each section so it can be directly linked
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/application_settings/show.html.haml')
-rw-r--r-- | app/views/admin/application_settings/show.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/application_settings/show.html.haml b/app/views/admin/application_settings/show.html.haml index 7aa4130e574..f3c07f4b1b9 100644 --- a/app/views/admin/application_settings/show.html.haml +++ b/app/views/admin/application_settings/show.html.haml @@ -3,7 +3,7 @@ - @content_class = "limit-container-width" unless fluid_layout - expanded = Rails.env.test? -%section.settings.as-visibility-access.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-visibility-access.no-animate#js-visibility-settings{ class: ('expanded' if expanded) } .settings-header %h4 Visibility and access controls @@ -14,7 +14,7 @@ .settings-content = render 'visibility_and_access' -%section.settings.as-account-limit.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-account-limit.no-animate#js-account-settings{ class: ('expanded' if expanded) } .settings-header %h4 Account and limit settings @@ -25,7 +25,7 @@ .settings-content = render 'account_and_limit' -%section.settings.as-signup.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-signup.no-animate#js-signup-settings{ class: ('expanded' if expanded) } .settings-header %h4 Sign-up restrictions @@ -36,7 +36,7 @@ .settings-content = render 'signup' -%section.settings.as-signin.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-signin.no-animate#js-signin-settings{ class: ('expanded' if expanded) } .settings-header %h4 Sign-in restrictions @@ -47,7 +47,7 @@ .settings-content = render 'signin' -%section.settings.as-help-page.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-help-page.no-animate#js-help-settings{ class: ('expanded' if expanded) } .settings-header %h4 Help page @@ -58,7 +58,7 @@ .settings-content = render 'help_page' -%section.settings.as-pages.no-animate{ class: ('expanded' if expanded) } +%section.settings.as-pages.no-animate#js-pages-settings{ class: ('expanded' if expanded) } .settings-header %h4 Pages |