Commit ccf8ff77 authored by charlieablett's avatar charlieablett

Correct status for moved and reopened issues

- Remove CLOSED (MOVED) for moved reopened issues
parent c4d0f6a0
......@@ -47,7 +47,7 @@
.issuable-meta
%ul.controls
- if issue.moved?
- if issue.moved? && issue.closed?
%li.issuable-status
= _('CLOSED (MOVED)')
- elsif issue.closed?
......
---
title: Issue list page shows correct status for moved re-opened issues
merge_request: 33238
author:
type: fixed
......@@ -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)')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment