Differential D17451 Diff 43379 src/applications/maniphest/controller/ManiphestTaskDetailController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestTaskDetailController.php
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | if (ManiphestTaskPoints::getIsEnabled()) { | ||||
->setName($points_name) | ->setName($points_name) | ||||
->setColor(PHUITagView::COLOR_BLUE) | ->setColor(PHUITagView::COLOR_BLUE) | ||||
->setType(PHUITagView::TYPE_SHADE); | ->setType(PHUITagView::TYPE_SHADE); | ||||
$view->addTag($tag); | $view->addTag($tag); | ||||
} | } | ||||
} | } | ||||
$subtype = $task->newSubtypeObject(); | |||||
if ($subtype && $subtype->hasTagView()) { | |||||
$subtype_tag = $subtype->newTagView(); | |||||
$view->addTag($subtype_tag); | |||||
} | |||||
return $view; | return $view; | ||||
} | } | ||||
private function buildCurtain( | private function buildCurtain( | ||||
ManiphestTask $task, | ManiphestTask $task, | ||||
PhabricatorEditEngine $edit_engine) { | PhabricatorEditEngine $edit_engine) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
▲ Show 20 Lines • Show All 314 Lines • Show Last 20 Lines |