@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+17 -17
+16 -16
src/applications/diffusion/view/DiffusionHistoryTableView.php
··· 66 66 if ($this->buildCache !== null) { 67 67 return $this->buildCache; 68 68 } 69 - 69 + 70 70 $commits_to_builds = array(); 71 - 71 + 72 72 $commits = mpull($this->history, 'getCommit'); 73 - 73 + 74 74 $commit_phids = mpull($commits, 'getPHID'); 75 - 75 + 76 76 $buildables = id(new HarbormasterBuildableQuery()) 77 77 ->setViewer($this->getUser()) 78 78 ->withBuildablePHIDs($commit_phids) 79 79 ->withManualBuildables(false) 80 80 ->execute(); 81 - 81 + 82 82 $this->buildCache = mpull($buildables, null, 'getBuildablePHID'); 83 - 83 + 84 84 return $this->buildCache; 85 85 } 86 - 86 + 87 87 public function render() { 88 88 $drequest = $this->getDiffusionRequest(); 89 89 ··· 97 97 $show_builds = PhabricatorApplication::isClassInstalledForViewer( 98 98 'PhabricatorApplicationHarbormaster', 99 99 $this->getUser()); 100 - 100 + 101 101 $rows = array(); 102 102 $ii = 0; 103 103 foreach ($this->history as $history) { ··· 163 163 $buildable->getBuildableStatus()); 164 164 $name = HarbormasterBuildable::getBuildableStatusName( 165 165 $buildable->getBuildableStatus()); 166 - 166 + 167 167 $icon_view = id(new PHUIIconView()) 168 168 ->setIconFont($icon.' '.$color); 169 - 169 + 170 170 $tooltip_view = javelin_tag( 171 171 'span', 172 172 array( 173 173 'sigil' => 'has-tooltip', 174 174 'meta' => array('tip' => $name)), 175 175 $icon_view); 176 - 176 + 177 177 Javelin::initBehavior('phabricator-tooltips'); 178 - 178 + 179 179 $href_view = phutil_tag( 180 180 'a', 181 181 array('href' => '/'.$buildable->getMonogram()), 182 182 $tooltip_view); 183 - 183 + 184 184 $build = $href_view; 185 - 185 + 186 186 $has_any_build = true; 187 187 } 188 188 } 189 - 189 + 190 190 $rows[] = array( 191 191 $graph ? $graph[$ii++] : null, 192 192 self::linkCommit( ··· 202 202 $time, 203 203 ); 204 204 } 205 - 205 + 206 206 $view = new AphrontTableView($rows); 207 207 $view->setHeaders( 208 208 array(
+1 -1
src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
··· 208 208 if ($buildable->getIsManualBuildable()) { 209 209 $item->addIcon('fa-wrench grey', pht('Manual')); 210 210 } 211 - 211 + 212 212 $item->setBarColor(HarbormasterBuildable::getBuildableStatusColor( 213 213 $buildable->getBuildableStatus())); 214 214 $item->addByline(HarbormasterBuildable::getBuildableStatusName(