summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-11-14 19:26:37 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-11-21 19:14:18 +0000
commitcf94db702e486562cda04e3eaf6b5e915e4e7f36 (patch)
tree5dea46e5d0a4025f72e25e19c541da14766018ec /app/views/admin
parent36fa5d660df96c49484cd27695da1df6e361eb8f (diff)
downloadgitlab-ce-cf94db702e486562cda04e3eaf6b5e915e4e7f36.tar.gz
Removed button styling from restricted visibility levels and added checkboxes with icons18136-ui-for-restricting-global-visibility-levels-is-unclear
Review changes
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index a236335131a..95cae5ea24b 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -22,9 +22,8 @@
.form-group
= f.label :restricted_visibility_levels, class: 'control-label col-sm-2'
.col-sm-10
- - data_attrs = { toggle: 'buttons' }
- .btn-group{ data: data_attrs }
- - restricted_level_checkboxes('restricted-visibility-help').each do |level|
+ - restricted_level_checkboxes('restricted-visibility-help').each do |level|
+ .checkbox
= level
%span.help-block#restricted-visibility-help
Selected levels cannot be used by non-admin users for projects or snippets.