mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
Add Priority to Maniphest Hovercard
Summary: Fixes T5524, adds priority to Maniphest's hovercard. Also fixes Blocking language. Test Plan: Hover over a task, see new stuff. Reviewers: lpriestley, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5524 Differential Revision: https://secure.phabricator.com/D13750
This commit is contained in:
parent
3d4df1fe8f
commit
fb13692bd3
1 changed files with 5 additions and 2 deletions
|
@ -53,12 +53,15 @@ final class ManiphestHovercardEventListener extends PhabricatorEventListener {
|
|||
$owner = phutil_tag('em', array(), pht('None'));
|
||||
}
|
||||
$hovercard->addField(pht('Assigned To'), $owner);
|
||||
$hovercard->addField(
|
||||
pht('Priority'),
|
||||
ManiphestTaskPriority::getTaskPriorityName($task->getPriority()));
|
||||
|
||||
if ($edge_phids) {
|
||||
$edge_types = array(
|
||||
$e_project => pht('Projects'),
|
||||
$e_dep_by => pht('Dependent Tasks'),
|
||||
$e_dep_on => pht('Depends On'),
|
||||
$e_dep_by => pht('Blocks'),
|
||||
$e_dep_on => pht('Blocked By'),
|
||||
);
|
||||
|
||||
$max_count = 6;
|
||||
|
|
Loading…
Reference in a new issue