Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionCommitController.php
| Show First 20 Lines • Show All 620 Lines • ▼ Show 20 Lines | if ($audit_requests) { | ||||
| $this->renderAuditStatusView($commit, $other_requests)); | $this->renderAuditStatusView($commit, $other_requests)); | ||||
| } | } | ||||
| } | } | ||||
| $provenance_list = new PHUIStatusListView(); | $provenance_list = new PHUIStatusListView(); | ||||
| $author_view = $commit->newCommitAuthorView($viewer); | $author_view = $commit->newCommitAuthorView($viewer); | ||||
| if ($author_view) { | if ($author_view) { | ||||
| $author_date = $data->getCommitDetail('authorEpoch'); | $author_date = $data->getAuthorEpoch(); | ||||
| $author_date = phabricator_datetime($author_date, $viewer); | $author_date = phabricator_datetime($author_date, $viewer); | ||||
| $provenance_list->addItem( | $provenance_list->addItem( | ||||
| id(new PHUIStatusItemView()) | id(new PHUIStatusItemView()) | ||||
| ->setTarget($author_view) | ->setTarget($author_view) | ||||
| ->setNote(pht('Authored on %s', $author_date))); | ->setNote(pht('Authored on %s', $author_date))); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 535 Lines • Show Last 20 Lines | |||||