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
ccf8ff77
Commit
ccf8ff77
authored
May 28, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct status for moved and reopened issues
- Remove CLOSED (MOVED) for moved reopened issues
parent
c4d0f6a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+1
-1
changelogs/unreleased/219331-cablett-issues-list-reopened-issue.yml
.../unreleased/219331-cablett-issues-list-reopened-issue.yml
+5
-0
spec/views/projects/issues/show.html.haml_spec.rb
spec/views/projects/issues/show.html.haml_spec.rb
+1
-1
No files found.
app/views/projects/issues/_issue.html.haml
View file @
ccf8ff77
...
...
@@ -47,7 +47,7 @@
.issuable-meta
%ul
.controls
-
if
issue
.
moved?
-
if
issue
.
moved?
&&
issue
.
closed?
%li
.issuable-status
=
_
(
'CLOSED (MOVED)'
)
-
elsif
issue
.
closed?
...
...
changelogs/unreleased/219331-cablett-issues-list-reopened-issue.yml
0 → 100644
View file @
ccf8ff77
---
title
:
Issue list page shows correct status for moved re-opened issues
merge_request
:
33238
author
:
type
:
fixed
spec/views/projects/issues/show.html.haml_spec.rb
View file @
ccf8ff77
...
...
@@ -23,7 +23,7 @@ describe 'projects/issues/show' do
project
.
add_developer
(
user
)
end
it
'shows "Closed (moved)" if an issue has been moved'
do
it
'shows "Closed (moved)" if an issue has been moved
and closed
'
do
render
expect
(
rendered
).
to
have_selector
(
'.status-box-issue-closed:not(.hidden)'
,
text:
'Closed (moved)'
)
...
...
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