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
5cb0149c
Commit
5cb0149c
authored
Jan 27, 2021
by
Yogi
Committed by
Kushal Pandya
Jan 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add btn-default class to MR edit button
parent
e1c35852
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/projects/merge_requests/_mr_title.html.haml
app/views/projects/merge_requests/_mr_title.html.haml
+1
-1
changelogs/unreleased/yo-fix-mr-edit-button.yml
changelogs/unreleased/yo-fix-mr-edit-button.yml
+5
-0
No files found.
app/views/projects/merge_requests/_mr_title.html.haml
View file @
5cb0149c
...
...
@@ -45,7 +45,7 @@
%li
=
link_to
'Report abuse'
,
new_abuse_report_path
(
user_id:
@merge_request
.
author
.
id
,
ref_url:
merge_request_url
(
@merge_request
))
-
if
can_update_merge_request
=
link_to
'Edit'
,
edit_project_merge_request_path
(
@project
,
@merge_request
),
class:
"d-none d-md-block btn gl-button btn-grouped js-issuable-edit qa-edit-button"
=
link_to
'Edit'
,
edit_project_merge_request_path
(
@project
,
@merge_request
),
class:
"d-none d-md-block btn gl-button btn-
default btn-
grouped js-issuable-edit qa-edit-button"
-
if
can_update_merge_request
&&
!
are_close_and_open_buttons_hidden
=
render
'projects/merge_requests/close_reopen_draft_report_toggle'
...
...
changelogs/unreleased/yo-fix-mr-edit-button.yml
0 → 100644
View file @
5cb0149c
---
title
:
Add btn-default to MR edit button
merge_request
:
51879
author
:
Yogi (@yo)
type
:
fixed
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