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
d5b4b8a2
Commit
d5b4b8a2
authored
Mar 17, 2021
by
Yogi
Committed by
Jose Ivan Vargas
Mar 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from btn-success to btn-confirm in projects/branches directory
parent
02ee1271
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+1
-1
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+2
-2
changelogs/unreleased/btn-confirm-project-branches.yml
changelogs/unreleased/btn-confirm-project-branches.yml
+5
-0
No files found.
app/views/projects/branches/index.html.haml
View file @
d5b4b8a2
...
...
@@ -40,7 +40,7 @@
data:
{
confirm:
s_
(
'Branches|Deleting the merged branches cannot be undone. Are you sure?'
),
container:
'body'
}
do
=
s_
(
'Branches|Delete merged branches'
)
=
link_to
new_project_branch_path
(
@project
),
class:
'gl-button btn btn-
success
'
do
=
link_to
new_project_branch_path
(
@project
),
class:
'gl-button btn btn-
confirm
'
do
=
s_
(
'Branches|New branch'
)
=
render_if_exists
'projects/commits/mirror_status'
...
...
app/views/projects/branches/new.html.haml
View file @
d5b4b8a2
...
...
@@ -29,6 +29,6 @@
=
render
'shared/ref_dropdown'
,
dropdown_class:
'wide'
.form-text.text-muted
Existing branch name, tag, or commit SHA
.form-actions
=
button_tag
'Create branch'
,
class:
'gl-button btn btn-
success
'
=
link_to
'Cancel'
,
project_branches_path
(
@project
),
class:
'gl-button btn btn-cancel'
=
button_tag
'Create branch'
,
class:
'gl-button btn btn-
confirm
'
=
link_to
'Cancel'
,
project_branches_path
(
@project
),
class:
'gl-button btn btn-
default btn-
cancel'
%script
#availableRefs
{
type:
"application/json"
}=
@project
.
repository
.
ref_names
.
to_json
.
html_safe
changelogs/unreleased/btn-confirm-project-branches.yml
0 → 100644
View file @
d5b4b8a2
---
title
:
Move from btn-success to btn-confirm in branches directory
merge_request
:
56325
author
:
Yogi (@yo)
type
:
changed
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