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

Use PHUIStatusListView in Diffusion commit list

Summary: Fixes T10626. Adds proper wrapper

Test Plan: Review spacing on a commit with comitted in the property list.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10626

Differential Revision: https://secure.phabricator.com/D15498
This commit is contained in:
Chad Little 2016-03-19 15:34:31 +00:00 committed by chad
parent 981f3a9068
commit d5f9e49e29

View file

@ -496,9 +496,11 @@ final class DiffusionCommitController extends DiffusionController {
$committed_info->setTarget($author_name); $committed_info->setTarget($author_name);
} }
$committed_list = new PHUIStatusListView();
$committed_list->addItem($committed_info);
$view->addProperty( $view->addProperty(
pht('Committed'), pht('Committed'),
$committed_info); $committed_list);
if ($push_logs) { if ($push_logs) {
$pushed_list = new PHUIStatusListView(); $pushed_list = new PHUIStatusListView();