mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Display 'away until' in owners and revision comment
Summary: It would be best to add this everywhere at once but I'm too lazy for it. Test Plan: Displayed package list and detail and revision comment with away users. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3419
This commit is contained in:
parent
2ea5c0bdda
commit
ada5f81614
3 changed files with 10 additions and 3 deletions
|
@ -60,6 +60,7 @@ final class DifferentialCommentPreviewController
|
|||
}
|
||||
|
||||
$handles = id(new PhabricatorObjectHandleData($handles))
|
||||
->setViewer($request->getUser())
|
||||
->loadHandles();
|
||||
|
||||
$view = new DifferentialRevisionCommentView();
|
||||
|
|
|
@ -59,7 +59,9 @@ final class PhabricatorOwnersDetailController
|
|||
}
|
||||
$phids = array_keys($phids);
|
||||
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles();
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))
|
||||
->setViewer($this->getRequest()->getUser())
|
||||
->loadHandles();
|
||||
|
||||
$rows = array();
|
||||
|
||||
|
@ -214,7 +216,9 @@ final class PhabricatorOwnersDetailController
|
|||
$phids[] = $commit_view['view']->getRequiredHandlePHIDs();
|
||||
}
|
||||
$phids = array_mergev($phids);
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles();
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))
|
||||
->setViewer($user)
|
||||
->loadHandles();
|
||||
|
||||
$commit_panels = array();
|
||||
foreach ($commit_views as $commit_view) {
|
||||
|
|
|
@ -222,7 +222,9 @@ final class PhabricatorOwnersListController
|
|||
$phids[$owner->getUserPHID()] = true;
|
||||
}
|
||||
$phids = array_keys($phids);
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles();
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))
|
||||
->setViewer($this->getRequest()->getUser())
|
||||
->loadHandles();
|
||||
|
||||
$repository_phids = array();
|
||||
foreach ($paths as $path) {
|
||||
|
|
Loading…
Reference in a new issue