mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 11:52:40 +01:00
bfc5bb7c78
Summary: actions are still a bit messy - unsatisfactory icons (T2013 will help!) Test Plan: viewed diffs - they look good Reviewers: epriestley, vrana Reviewed By: epriestley CC: chad, aran, Korvin Maniphest Tasks: T2007 Differential Revision: https://secure.phabricator.com/D3904
23 lines
519 B
PHP
23 lines
519 B
PHP
<?php
|
|
|
|
final class DifferentialRevisionStatusFieldSpecification
|
|
extends DifferentialFieldSpecification {
|
|
|
|
public function shouldAppearOnRevisionView() {
|
|
return false;
|
|
}
|
|
|
|
public function shouldAppearOnRevisionList() {
|
|
return true;
|
|
}
|
|
|
|
public function renderHeaderForRevisionList() {
|
|
return 'Status';
|
|
}
|
|
|
|
public function renderValueForRevisionList(DifferentialRevision $revision) {
|
|
return ArcanistDifferentialRevisionStatus::getNameForRevisionStatus(
|
|
$revision->getStatus());
|
|
}
|
|
|
|
}
|