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
e170d2cb
Commit
e170d2cb
authored
Jan 25, 2021
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove compare switch revision button
parent
02c1315b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app/views/projects/compare/_form.html.haml
app/views/projects/compare/_form.html.haml
+0
-3
changelogs/unreleased/14615-remove-compare-swap-revision.yml
changelogs/unreleased/14615-remove-compare-swap-revision.yml
+5
-0
No files found.
app/views/projects/compare/_form.html.haml
View file @
e170d2cb
=
form_tag
project_compare_index_path
(
@project
),
method: :post
,
class:
'form-inline js-requires-input js-signature-container'
,
data:
{
'signatures-path'
=>
signatures_namespace_project_compare_index_path
}
do
-
if
params
[
:to
]
&&
params
[
:from
]
.compare-switch-container
=
link_to
sprite_icon
(
'substitute'
),
{
from:
params
[
:to
],
to:
params
[
:from
]
},
class:
'commits-compare-switch has-tooltip btn gl-button btn-white'
,
title:
'Swap revisions'
.form-group.dropdown.compare-form-group.to.js-compare-to-dropdown
.input-group.inline-input-group
%span
.input-group-prepend
...
...
changelogs/unreleased/14615-remove-compare-swap-revision.yml
0 → 100644
View file @
e170d2cb
---
title
:
Remove compare switch revision button
merge_request
:
52547
author
:
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