Page MenuHomePhabricator

D7907.diff
No OneTemporary

D7907.diff

Index: resources/celerity/map.php
===================================================================
--- resources/celerity/map.php
+++ resources/celerity/map.php
@@ -7,7 +7,7 @@
return array(
'names' =>
array(
- 'core.pkg.css' => '979bfb39',
+ 'core.pkg.css' => '5ebae357',
'core.pkg.js' => 'c907bd96',
'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => '827749c1',
@@ -132,7 +132,7 @@
'rsrc/css/phui/phui-feed-story.css' => '3a59c2cf',
'rsrc/css/phui/phui-form-view.css' => '3179980c',
'rsrc/css/phui/phui-form.css' => 'b78ec020',
- 'rsrc/css/phui/phui-header-view.css' => '875d0260',
+ 'rsrc/css/phui/phui-header-view.css' => '1a93f1d9',
'rsrc/css/phui/phui-icon.css' => '29e83226',
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
'rsrc/css/phui/phui-list.css' => '2edb76cf',
@@ -736,7 +736,7 @@
'phui-feed-story-css' => '3a59c2cf',
'phui-form-css' => 'b78ec020',
'phui-form-view-css' => '3179980c',
- 'phui-header-view-css' => '875d0260',
+ 'phui-header-view-css' => '1a93f1d9',
'phui-icon-view-css' => '29e83226',
'phui-info-panel-css' => '27ea50a1',
'phui-list-view-css' => '2edb76cf',
Index: src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
===================================================================
--- src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
+++ src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
@@ -130,21 +130,25 @@
$editable,
));
- $view = new AphrontPanelView();
+ $view = new PHUIObjectBoxView();
+ $header = new PHUIHeaderView();
+ $header->setHeader(pht('Email Addresses'));
+
if ($editable) {
- $view->addButton(
- javelin_tag(
- 'a',
- array(
- 'href' => $uri->alter('new', 'true'),
- 'class' => 'green button',
- 'sigil' => 'workflow',
- ),
- pht('Add New Address')));
+ $icon = id(new PHUIIconView())
+ ->setSpriteSheet(PHUIIconView::SPRITE_ICONS)
+ ->setSpriteIcon('new');
+
+ $button = new PHUIButtonView();
+ $button->setText(pht('Add New Address'));
+ $button->setTag('a');
+ $button->setHref($uri->alter('new', 'true'));
+ $button->setIcon($icon);
+ $button->addSigil('workflow');
+ $header->addActionLink($button);
}
- $view->setHeader(pht('Email Addresses'));
+ $view->setHeader($header);
$view->appendChild($table);
- $view->setNoBackground();
return $view;
}
Index: webroot/rsrc/css/phui/phui-header-view.css
===================================================================
--- webroot/rsrc/css/phui/phui-header-view.css
+++ webroot/rsrc/css/phui/phui-header-view.css
@@ -44,7 +44,8 @@
position: relative;
}
-.phui-header-view a {
+.phui-header-view a,
+.phui-header-view a.simple {
color: {$darkbluetext};
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 1:40 AM (1 h, 13 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6774026
Default Alt Text
D7907.diff (2 KB)

Event Timeline