mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00: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:
parent
7145587df7
commit
da5f22172c
1 changed files with 1 additions and 2 deletions
|
@ -79,8 +79,6 @@ final class PhabricatorAuditListView extends AphrontView {
|
||||||
|
|
||||||
public function render() {
|
public function render() {
|
||||||
$list = $this->buildList();
|
$list = $this->buildList();
|
||||||
$list->setCards(true);
|
|
||||||
$list->setFlush(true);
|
|
||||||
return $list->render();
|
return $list->render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,6 +90,7 @@ final class PhabricatorAuditListView extends AphrontView {
|
||||||
$rowc = array();
|
$rowc = array();
|
||||||
|
|
||||||
$list = new PHUIObjectItemListView();
|
$list = new PHUIObjectItemListView();
|
||||||
|
$list->setCards(true);
|
||||||
foreach ($this->commits as $commit) {
|
foreach ($this->commits as $commit) {
|
||||||
$commit_phid = $commit->getPHID();
|
$commit_phid = $commit->getPHID();
|
||||||
$commit_handle = $this->getHandle($commit_phid);
|
$commit_handle = $this->getHandle($commit_phid);
|
||||||
|
|
Loading…
Reference in a new issue