Commit afad9e6f authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'replace-alert-mr-settings-form' into 'master'

Replace bootstrap alert in ee/app/views/projects/_merge_request_approvals_settings_form.html.haml

See merge request gitlab-org/gitlab!44749
parents 9bc18e56 88d1fc41
......@@ -10,10 +10,10 @@
= sprite_icon('spinner', size: 24, css_class: 'gl-spinner')
- if project.code_owner_approval_required_available?
.alert.alert-dismissible.alert-primary.fade.in.show{ role: "alert" }
%button.close{ type: "button", 'data-dismiss': "alert", 'aria-label': "Close" }
.gl-alert.gl-alert-info.fade.in.show{ role: "alert" }
%button.js-close.gl-alert-dismiss{ type: "button", 'data-dismiss': "alert", 'aria-label': "Close" }
%span
= sprite_icon('close')
= sprite_icon('close', size: 16, css_class: 'gl-icon')
%span
- banner_url = project_settings_repository_path(project, anchor: 'js-protected-branches-settings')
- banner_link_start = '<a href="%{url}"><strong>'.html_safe % { url: banner_url }
......
---
title: Replace bootstrap alert in ee/app/views/projects/_merge_request_approvals_settings_form.html.haml
merge_request: 44749
author:
type: changed
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