Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/view/HarbormasterUnitPropertyView.php
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | foreach ($display_messages as $message) { | ||||
$name, | $name, | ||||
); | ); | ||||
} | } | ||||
$full_uri = $this->fullResultsURI; | $full_uri = $this->fullResultsURI; | ||||
if ($full_uri && (count($messages) > $limit)) { | if ($full_uri && (count($messages) > $limit)) { | ||||
$counts = array(); | $counts = array(); | ||||
// T10635: most of this information is already aggregated in BuildTarget. | |||||
$groups = mgroup($messages, 'getResult'); | $groups = mgroup($messages, 'getResult'); | ||||
foreach ($groups as $status => $group) { | foreach ($groups as $status => $group) { | ||||
$counts[] = HarbormasterUnitStatus::getUnitStatusCountLabel( | $counts[] = HarbormasterUnitStatus::getUnitStatusCountLabel( | ||||
$status, | $status, | ||||
count($group)); | count($group)); | ||||
} | } | ||||
$link_text = pht( | $link_text = pht( | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |