1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Update Audit to use Cards in ObjectList

Summary: For general consistency with Differential / other application searches. May look at "Cards" as the default view for everything.

Test Plan: Reload my Audit page, easier to read and find status colors.

Reviewers: epriestley, btrahan

Reviewed By: btrahan

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8935
This commit is contained in:
Chad Little 2014-05-01 14:37:06 -07:00
parent 7145587df7
commit da5f22172c

View file

@ -79,8 +79,6 @@ final class PhabricatorAuditListView extends AphrontView {
public function render() {
$list = $this->buildList();
$list->setCards(true);
$list->setFlush(true);
return $list->render();
}
@ -92,6 +90,7 @@ final class PhabricatorAuditListView extends AphrontView {
$rowc = array();
$list = new PHUIObjectItemListView();
$list->setCards(true);
foreach ($this->commits as $commit) {
$commit_phid = $commit->getPHID();
$commit_handle = $this->getHandle($commit_phid);