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:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Chad Little
					Chad Little