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
72ae2eb2
Commit
72ae2eb2
authored
Feb 02, 2021
by
Yogi
Committed by
Nicolò Maria Mezzopera
Feb 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply new GitLab UI for buttons in MR resolve conflicts page
parent
b69dff45
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
.../projects/merge_requests/conflicts/_submit_form.html.haml
+1
-1
app/views/projects/merge_requests/conflicts/components/_diff_file_editor.html.haml
...requests/conflicts/components/_diff_file_editor.html.haml
+2
-2
changelogs/unreleased/gl-button-resolve-conflict.yml
changelogs/unreleased/gl-button-resolve-conflict.yml
+5
-0
No files found.
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
View file @
72ae2eb2
...
...
@@ -21,4 +21,4 @@
%button
.btn.gl-button.btn-success.js-submit-button
{
type:
"button"
,
"@click"
=>
"commit()"
,
":disabled"
=>
"!readyToCommit"
}
%span
{{commitButtonText}}
.col-6.text-right
=
link_to
"Cancel"
,
project_merge_request_path
(
@merge_request
.
project
,
@merge_request
),
class:
"gl-button btn btn-
cancel
"
=
link_to
"Cancel"
,
project_merge_request_path
(
@merge_request
.
project
,
@merge_request
),
class:
"gl-button btn btn-
default
"
app/views/projects/merge_requests/conflicts/components/_diff_file_editor.html.haml
View file @
72ae2eb2
...
...
@@ -4,7 +4,7 @@
.discard-changes-alert
Are you sure you want to discard your changes?
.discard-actions
%button
.btn.btn-sm.btn-
close
{
"@click"
=>
"acceptDiscardConfirmation(file)"
}
Discard changes
%button
.btn.btn-
sm
{
"@click"
=>
"cancelDiscardConfirmation(file)"
}
Cancel
%button
.btn.btn-sm.btn-
danger-secondary.gl-button
{
"@click"
=>
"acceptDiscardConfirmation(file)"
}
Discard changes
%button
.btn.btn-
default.btn-sm.gl-button
{
"@click"
=>
"cancelDiscardConfirmation(file)"
}
Cancel
.editor-wrap
{
":class"
=>
"classObject"
}
.editor
{
"style"
=>
"height: 350px"
,
data:
{
'editor-loading'
:
true
}
}
changelogs/unreleased/gl-button-resolve-conflict.yml
0 → 100644
View file @
72ae2eb2
---
title
:
Apply new GitLab UI for buttons in MR resolve conflicts page
merge_request
:
52783
author
:
Yogi (@yo)
type
:
other
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