Commit 55be351f authored by Robert Marcano's avatar Robert Marcano

Fix "Create project" button layout with restricted visibility

When the administrator restrict visibility options the information
message break the buttons layout. Change the message style.
parent f1bfb872
......@@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.13.0 (unreleased)
- Speed-up group milestones show page
- Fix robots.txt disallowing access to groups starting with "s" (Matt Harrison)
- Fix "Create project" button layout when visibility options are restricted
v 8.12.2 (unreleased)
- Fix Import/Export not recognising correctly the imported services.
......
......@@ -6,7 +6,7 @@
- if can_change_visibility_level
= render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: visibility_level, form_model: form_model)
- else
.col-sm-10
%div
%span.info
= visibility_level_icon(visibility_level)
%strong
......
......@@ -10,6 +10,6 @@
.option-descr
= visibility_level_description(level, form_model)
- unless restricted_visibility_levels.empty?
.col-sm-10
%div
%span.info
Some visibility level settings have been restricted by the administrator.
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