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
12cc233d
Commit
12cc233d
authored
Sep 02, 2020
by
samdbeckham
Committed by
Alexander Turinske
Jan 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrates the alert on the new branch page
Moves the alert to use gitlab UI classes
parent
5ba912a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+4
-2
No files found.
app/views/projects/branches/new.html.haml
View file @
12cc233d
...
@@ -2,8 +2,10 @@
...
@@ -2,8 +2,10 @@
-
default_ref
=
params
[
:ref
]
||
@project
.
default_branch
-
default_ref
=
params
[
:ref
]
||
@project
.
default_branch
-
if
@error
-
if
@error
.alert.alert-danger
.gl-alert.gl-alert-danger
%button
.close
{
type:
"button"
,
"data-dismiss"
=>
"alert"
}
×
=
sprite_icon
(
'error'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
%button
.js-close.gl-alert-dismiss
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}
=
sprite_icon
(
'close'
,
size:
16
,
css_class:
'gl-icon'
)
=
@error
=
@error
%h3
.page-title
%h3
.page-title
New Branch
New Branch
...
...
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