diff --git a/CHANGELOG b/CHANGELOG index 12fcec0351457de6b0e03cb5f95195dea7400082..2657462cac2fdd3a89e2947fb7f2b1431dcf55e1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -33,6 +33,9 @@ v 8.12.3 - Update Gitlab Shell to support low IO priority for storage moves v 8.12.2 + - Fix "Create project" button layout when visibility options are restricted + +v 8.12.2 (unreleased) - Fix Import/Export not recognising correctly the imported services. - Fix snippets pagination - Fix List-Unsubscribe header in emails diff --git a/app/views/shared/_visibility_level.html.haml b/app/views/shared/_visibility_level.html.haml index add4536a0a247bc367bdc82c4f43a890446308fa..b11257ee0e664932352d14bee1d6a4e500d2a303 100644 --- a/app/views/shared/_visibility_level.html.haml +++ b/app/views/shared/_visibility_level.html.haml @@ -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 diff --git a/app/views/shared/_visibility_radios.html.haml b/app/views/shared/_visibility_radios.html.haml index ebe2eb0433d4a45ad4c05f6636c6f95cf441201c..182c4eebd503a0358da5e5204ddb9b9c16ffc86b 100644 --- a/app/views/shared/_visibility_radios.html.haml +++ b/app/views/shared/_visibility_radios.html.haml @@ -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.