Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/query/PhabricatorBadgesSearchEngine.php
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | protected function getNewUserBody() { | ||||
$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('Badges let you award and distinguish special users '. | pht('Badges let you award and distinguish special users '. | ||||
'throughout your instance.')) | 'throughout your install.')) | ||||
->addAction($create_button); | ->addAction($create_button); | ||||
return $view; | return $view; | ||||
} | } | ||||
} | } |