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:
Chad Little
2016-03-02 08:45:53 -08:00
parent 078bf59f59
commit 2c43cccddf
11 changed files with 150 additions and 83 deletions
+4 -2
View File
@@ -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,
));