1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Remove trailing whitespace.

Summary: OMG!!! Trailing whitespace.

Test Plan: No more trailing whitespace.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9688
This commit is contained in:
Joshua Spence 2014-06-24 03:08:47 +10:00
parent 248b4dfa9d
commit 13fa199090
2 changed files with 17 additions and 17 deletions

View file

@ -66,24 +66,24 @@ final class DiffusionHistoryTableView extends DiffusionView {
if ($this->buildCache !== null) {
return $this->buildCache;
}
$commits_to_builds = array();
$commits = mpull($this->history, 'getCommit');
$commit_phids = mpull($commits, 'getPHID');
$buildables = id(new HarbormasterBuildableQuery())
->setViewer($this->getUser())
->withBuildablePHIDs($commit_phids)
->withManualBuildables(false)
->execute();
$this->buildCache = mpull($buildables, null, 'getBuildablePHID');
return $this->buildCache;
}
public function render() {
$drequest = $this->getDiffusionRequest();
@ -97,7 +97,7 @@ final class DiffusionHistoryTableView extends DiffusionView {
$show_builds = PhabricatorApplication::isClassInstalledForViewer(
'PhabricatorApplicationHarbormaster',
$this->getUser());
$rows = array();
$ii = 0;
foreach ($this->history as $history) {
@ -163,30 +163,30 @@ final class DiffusionHistoryTableView extends DiffusionView {
$buildable->getBuildableStatus());
$name = HarbormasterBuildable::getBuildableStatusName(
$buildable->getBuildableStatus());
$icon_view = id(new PHUIIconView())
->setIconFont($icon.' '.$color);
$tooltip_view = javelin_tag(
'span',
array(
'sigil' => 'has-tooltip',
'meta' => array('tip' => $name)),
$icon_view);
Javelin::initBehavior('phabricator-tooltips');
$href_view = phutil_tag(
'a',
array('href' => '/'.$buildable->getMonogram()),
$tooltip_view);
$build = $href_view;
$has_any_build = true;
}
}
$rows[] = array(
$graph ? $graph[$ii++] : null,
self::linkCommit(
@ -202,7 +202,7 @@ final class DiffusionHistoryTableView extends DiffusionView {
$time,
);
}
$view = new AphrontTableView($rows);
$view->setHeaders(
array(

View file

@ -208,7 +208,7 @@ final class HarbormasterBuildableSearchEngine
if ($buildable->getIsManualBuildable()) {
$item->addIcon('fa-wrench grey', pht('Manual'));
}
$item->setBarColor(HarbormasterBuildable::getBuildableStatusColor(
$buildable->getBuildableStatus()));
$item->addByline(HarbormasterBuildable::getBuildableStatusName(