Differential D20331 Diff 48535 src/applications/project/engineextension/PhabricatorProjectsCurtainExtension.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/engineextension/PhabricatorProjectsCurtainExtension.php
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | if ($has_projects && $can_appear_on_boards) { | ||||
$annotation = array(); | $annotation = array(); | ||||
foreach ($columns as $column) { | foreach ($columns as $column) { | ||||
$project_id = $column->getProject()->getID(); | $project_id = $column->getProject()->getID(); | ||||
$column_name = pht('(%s)', $column->getDisplayName()); | $column_name = pht('(%s)', $column->getDisplayName()); | ||||
$column_link = phutil_tag( | $column_link = phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'href' => "/project/board/{$project_id}/", | 'href' => $column->getWorkboardURI(), | ||||
'class' => 'maniphest-board-link', | 'class' => 'maniphest-board-link', | ||||
), | ), | ||||
$column_name); | $column_name); | ||||
$annotation[] = $column_link; | $annotation[] = $column_link; | ||||
} | } | ||||
if ($annotation) { | if ($annotation) { | ||||
Show All 25 Lines |