Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1e8d96f1
Commit
1e8d96f1
authored
Jun 14, 2021
by
nuwe1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gl-alert markup in file
parent
f90a8af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
app/views/shared/issuable/form/_branch_chooser.html.haml
app/views/shared/issuable/form/_branch_chooser.html.haml
+8
-6
No files found.
app/views/shared/issuable/form/_branch_chooser.html.haml
View file @
1e8d96f1
...
...
@@ -37,10 +37,12 @@
data:
{
placeholder:
_
(
'Select branch'
),
endpoint:
refs_project_path
(
@project
,
sort:
'updated_desc'
,
find:
'branches'
)
}})
-
if
source_level
<
target_level
.gl-alert.gl-alert-warning.gl-mt-4
=
sprite_icon
(
'warning'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-body
=
visibilityMismatchString
%br
=
_
(
'Review the target project before submitting to avoid exposing %{source} changes.'
)
%
{
source:
source_visibility
}
.gl-alert.gl-alert-warning.gl-alert-not-dismissible.gl-max-content.gl-mt-4
.gl-alert-container
.gl-alert-content
{
role:
'alert'
}
=
sprite_icon
(
'warning'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-body
=
visibilityMismatchString
%br
=
_
(
'Review the target project before submitting to avoid exposing %{source} changes.'
)
%
{
source:
source_visibility
}
%hr
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment