Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/view/DiffusionHistoryTableView.php
| Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | foreach ($this->history as $history) { | ||||
| $partial_import = PhabricatorRepositoryCommit::IMPORTED_MESSAGE | | $partial_import = PhabricatorRepositoryCommit::IMPORTED_MESSAGE | | ||||
| PhabricatorRepositoryCommit::IMPORTED_CHANGE; | PhabricatorRepositoryCommit::IMPORTED_CHANGE; | ||||
| $commit = $history->getCommit(); | $commit = $history->getCommit(); | ||||
| if ($commit && $commit->isPartiallyImported($partial_import) && $data) { | if ($commit && $commit->isPartiallyImported($partial_import) && $data) { | ||||
| $summary = AphrontTableView::renderSingleDisplayLine( | $summary = AphrontTableView::renderSingleDisplayLine( | ||||
| $history->getSummary()); | $history->getSummary()); | ||||
| } else { | } else { | ||||
| $summary = phutil_tag('em', array(), "Importing\xE2\x80\xA6"); | $summary = phutil_tag('em', array(), pht("Importing\xE2\x80\xA6")); | ||||
| } | } | ||||
| $build = null; | $build = null; | ||||
| if ($show_builds) { | if ($show_builds) { | ||||
| $buildable_lookup = $this->loadBuildablesOnDemand(); | $buildable_lookup = $this->loadBuildablesOnDemand(); | ||||
| $buildable = idx($buildable_lookup, $commit->getPHID()); | $buildable = idx($buildable_lookup, $commit->getPHID()); | ||||
| if ($buildable !== null) { | if ($buildable !== null) { | ||||
| $icon = HarbormasterBuildable::getBuildableStatusIcon( | $icon = HarbormasterBuildable::getBuildableStatusIcon( | ||||
| ▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines | |||||