Update Almanac for PHUITwoColumnView
Summary: Updates Almanac to the new layout, adds some header icons for interest. Test Plan: Click on all the different almanac pages. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15381
This commit is contained in:
@@ -313,10 +313,11 @@ final class PHUIHeaderView extends AphrontTagView {
|
||||
$action_list);
|
||||
}
|
||||
|
||||
$icon = null;
|
||||
if ($this->headerIcon) {
|
||||
$icon = id(new PHUIIconView())
|
||||
->setIcon($this->headerIcon);
|
||||
$left[] = $icon;
|
||||
->setIcon($this->headerIcon)
|
||||
->addClass('phui-header-icon');
|
||||
}
|
||||
|
||||
$header_content = $this->header;
|
||||
@@ -338,6 +339,7 @@ final class PHUIHeaderView extends AphrontTagView {
|
||||
),
|
||||
array(
|
||||
$space_header,
|
||||
$icon,
|
||||
$header_content,
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user