Commit a3f11a7e authored by Peter Hegman's avatar Peter Hegman

Merge branch...

Merge branch '325376-migrate-to-shared-alert-haml-partial-in-app-views-projects-mirrors-_mirror_repos-html-haml' into 'master'

Migrate alert in _mirror_repos.html to global alert

See merge request gitlab-org/gitlab!83072
parents a93461e4 2d46b733
...@@ -37,8 +37,9 @@ ...@@ -37,8 +37,9 @@
.panel-footer .panel-footer
= f.submit _('Mirror repository'), class: 'gl-button btn btn-confirm js-mirror-submit qa-mirror-repository-button', name: :update_remote_mirror = f.submit _('Mirror repository'), class: 'gl-button btn btn-confirm js-mirror-submit qa-mirror-repository-button', name: :update_remote_mirror
- else - else
.gl-alert.gl-alert-info{ role: 'alert' } = render 'shared/global_alert',
= sprite_icon('information-o', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') dismissible: false,
variant: :info do
.gl-alert-body .gl-alert-body
= _('Mirror settings are only available to GitLab administrators.') = _('Mirror settings are only available to GitLab administrators.')
......
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