Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionCommitController.php
Show First 20 Lines • Show All 449 Lines • ▼ Show 20 Lines | if ($phids) { | ||||
$handles = $this->loadViewerHandles($phids); | $handles = $this->loadViewerHandles($phids); | ||||
} | } | ||||
$props = array(); | $props = array(); | ||||
if ($audit_requests) { | if ($audit_requests) { | ||||
$user_requests = array(); | $user_requests = array(); | ||||
$other_requests = array(); | $other_requests = array(); | ||||
foreach ($audit_requests as $audit_request) { | foreach ($audit_requests as $audit_request) { | ||||
if (!$audit_request->isInteresting()) { | |||||
continue; | |||||
} | |||||
if ($audit_request->isUser()) { | if ($audit_request->isUser()) { | ||||
$user_requests[] = $audit_request; | $user_requests[] = $audit_request; | ||||
} else { | } else { | ||||
$other_requests[] = $audit_request; | $other_requests[] = $audit_request; | ||||
} | } | ||||
} | } | ||||
if ($user_requests) { | if ($user_requests) { | ||||
$view->addProperty( | $view->addProperty( | ||||
pht('Auditors'), | pht('Auditors'), | ||||
$this->renderAuditStatusView($user_requests)); | $this->renderAuditStatusView($user_requests)); | ||||
} | } | ||||
if ($other_requests) { | if ($other_requests) { | ||||
$view->addProperty( | $view->addProperty( | ||||
pht('Project/Package Auditors'), | pht('Group Auditors'), | ||||
$this->renderAuditStatusView($other_requests)); | $this->renderAuditStatusView($other_requests)); | ||||
} | } | ||||
} | } | ||||
$author_phid = $data->getCommitDetail('authorPHID'); | $author_phid = $data->getCommitDetail('authorPHID'); | ||||
$author_name = $data->getAuthorName(); | $author_name = $data->getAuthorName(); | ||||
$author_epoch = $data->getCommitDetail('authorEpoch'); | $author_epoch = $data->getCommitDetail('authorEpoch'); | ||||
▲ Show 20 Lines • Show All 804 Lines • Show Last 20 Lines |