mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-27 22:19:29 +01:00
Put "View Edit History" above "Remove Comment" in timeline comment action dropdown
Summary: Fixes T12131. Test Plan: {F2449700} Reviewers: chad Reviewed By: chad Maniphest Tasks: T12131 Differential Revision: https://secure.phabricator.com/D17234
This commit is contained in:
parent
58c857a681
commit
98a29f3de9
1 changed files with 8 additions and 8 deletions
|
@ -646,6 +646,14 @@ final class PHUITimelineEventView extends AphrontView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->getIsEdited()) {
|
||||||
|
$items[] = id(new PhabricatorActionView())
|
||||||
|
->setIcon('fa-list')
|
||||||
|
->setHref('/transactions/history/'.$xaction_phid.'/')
|
||||||
|
->setName(pht('View Edit History'))
|
||||||
|
->setWorkflow(true);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->getIsRemovable()) {
|
if ($this->getIsRemovable()) {
|
||||||
$items[] = id(new PhabricatorActionView())
|
$items[] = id(new PhabricatorActionView())
|
||||||
->setType(PhabricatorActionView::TYPE_DIVIDER);
|
->setType(PhabricatorActionView::TYPE_DIVIDER);
|
||||||
|
@ -663,14 +671,6 @@ final class PHUITimelineEventView extends AphrontView {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->getIsEdited()) {
|
|
||||||
$items[] = id(new PhabricatorActionView())
|
|
||||||
->setIcon('fa-list')
|
|
||||||
->setHref('/transactions/history/'.$xaction_phid.'/')
|
|
||||||
->setName(pht('View Edit History'))
|
|
||||||
->setWorkflow(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $items;
|
return $items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue