Commit cb72663a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'vis_btn_color_change' into 'master'

Changed the color of admin/application_settings buttons

Now they look like this: ![image](

gray when selected, white when not.

See merge request !887
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
def restricted_level_checkboxes(help_block_id) def restricted_level_checkboxes(help_block_id) do |name, level| do |name, level|
checked = restricted_visibility_levels(true).include?(level) checked = restricted_visibility_levels(true).include?(level)
css_class = 'btn btn-primary' css_class = 'btn'
css_class += ' active' if checked css_class += ' active' if checked
checkbox_name = 'application_setting[restricted_visibility_levels][]' checkbox_name = 'application_setting[restricted_visibility_levels][]'
Supports Markdown
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