Commit cf2c99cc authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'mg-keep-project-settings-expanded' into 'master'

Fix mirror settings anchor

See merge request gitlab-org/gitlab-ce!21261
parents 7abab12e 8b03ec1f
- expanded = Rails.env.test?
- protocols = Gitlab::UrlSanitizer::ALLOWED_SCHEMES.join('|')
%section.settings.project-mirror-settings.js-mirror-settings.no-animate{ class: ('expanded' if expanded) }
%section.settings.project-mirror-settings.js-mirror-settings.no-animate#js-push-remote-settings{ class: ('expanded' if expanded) }
.settings-header
%h4= _('Mirroring repositories')
%button.btn.js-settings-toggle
......
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