Differential D21787 Diff 51943 src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | $create_button = id(new PHUIButtonView()) | ||||
->setColor(PHUIButtonView::GREEN); | ->setColor(PHUIButtonView::GREEN); | ||||
$icon = $this->getApplication()->getIcon(); | $icon = $this->getApplication()->getIcon(); | ||||
$app_name = $this->getApplication()->getName(); | $app_name = $this->getApplication()->getName(); | ||||
$view = id(new PHUIBigInfoView()) | $view = id(new PHUIBigInfoView()) | ||||
->setIcon($icon) | ->setIcon($icon) | ||||
->setTitle(pht('Welcome to %s', $app_name)) | ->setTitle(pht('Welcome to %s', $app_name)) | ||||
->setDescription( | ->setDescription( | ||||
pht('Group sections of a codebase into packages for re-use in other '. | pht( | ||||
'areas of Phabricator, like Herald rules.')) | 'Group sections of a codebase into packages for re-use in other '. | ||||
'applications, like Herald rules.')) | |||||
->addAction($create_button); | ->addAction($create_button); | ||||
return $view; | return $view; | ||||
} | } | ||||
} | } |