Changeset View
Changeset View
Standalone View
Standalone View
src/applications/home/controller/PhabricatorHomeMainController.php
Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Lines | $title = phutil_tag( | ||||
), | ), | ||||
$title); | $title); | ||||
$header = id(new PHUIHeaderView()) | $header = id(new PHUIHeaderView()) | ||||
->setHeader($title); | ->setHeader($title); | ||||
return $header; | return $header; | ||||
} | } | ||||
private function renderMiniPanel($title, $body) { | private function renderMiniPanel($title, $body) { | ||||
$panel = new AphrontMiniPanelView(); | $panel = new PHUIErrorView(); | ||||
$panel->setSeverity(PHUIErrorView::SEVERITY_NODATA); | |||||
$panel->appendChild( | $panel->appendChild( | ||||
phutil_tag( | phutil_tag( | ||||
'p', | 'p', | ||||
array( | array( | ||||
), | ), | ||||
array( | array( | ||||
phutil_tag('strong', array(), $title.': '), | phutil_tag('strong', array(), $title.': '), | ||||
$body, | $body, | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |