Commit 20bd4c51 authored by Illya Klymov's avatar Illya Klymov

Merge branch 'pj-migrate-class-new-branch-info-warning' into 'master'

Migrate confidential warning message to use PJ classes

See merge request gitlab-org/gitlab!84799
parents d7c43ffb e47a1437
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
}, },
showWarning() { showWarning() {
if (this.warningText) { if (this.warningText) {
this.warningText.classList.remove('hidden'); this.warningText.classList.remove('gl-display-none');
} }
if (this.createBtn) { if (this.createBtn) {
......
...@@ -62,5 +62,5 @@ ...@@ -62,5 +62,5 @@
= create_mr_text = create_mr_text
- if can_create_confidential_merge_request? - if can_create_confidential_merge_request?
%p.text-warning.js-exposed-info-warning.hidden %p.gl-text-orange-500.js-exposed-info-warning.gl-display-none
= _('This may expose confidential information as the selected fork is in another namespace that can have other members.') = _('This may expose confidential information as the selected fork is in another namespace that can have other members.')
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