@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update Email Address setting page

Summary: Uses new PHUIObjectBox table hotness.

Test Plan: Add address, make primary, remove.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D7907

+21 -16
+3 -3
resources/celerity/map.php
··· 7 7 return array( 8 8 'names' => 9 9 array( 10 - 'core.pkg.css' => '979bfb39', 10 + 'core.pkg.css' => '5ebae357', 11 11 'core.pkg.js' => 'c907bd96', 12 12 'darkconsole.pkg.js' => 'ca8671ce', 13 13 'differential.pkg.css' => '827749c1', ··· 132 132 'rsrc/css/phui/phui-feed-story.css' => '3a59c2cf', 133 133 'rsrc/css/phui/phui-form-view.css' => '3179980c', 134 134 'rsrc/css/phui/phui-form.css' => 'b78ec020', 135 - 'rsrc/css/phui/phui-header-view.css' => '875d0260', 135 + 'rsrc/css/phui/phui-header-view.css' => '1a93f1d9', 136 136 'rsrc/css/phui/phui-icon.css' => '29e83226', 137 137 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', 138 138 'rsrc/css/phui/phui-list.css' => '2edb76cf', ··· 736 736 'phui-feed-story-css' => '3a59c2cf', 737 737 'phui-form-css' => 'b78ec020', 738 738 'phui-form-view-css' => '3179980c', 739 - 'phui-header-view-css' => '875d0260', 739 + 'phui-header-view-css' => '1a93f1d9', 740 740 'phui-icon-view-css' => '29e83226', 741 741 'phui-info-panel-css' => '27ea50a1', 742 742 'phui-list-view-css' => '2edb76cf',
+16 -12
src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php
··· 130 130 $editable, 131 131 )); 132 132 133 - $view = new AphrontPanelView(); 133 + $view = new PHUIObjectBoxView(); 134 + $header = new PHUIHeaderView(); 135 + $header->setHeader(pht('Email Addresses')); 136 + 134 137 if ($editable) { 135 - $view->addButton( 136 - javelin_tag( 137 - 'a', 138 - array( 139 - 'href' => $uri->alter('new', 'true'), 140 - 'class' => 'green button', 141 - 'sigil' => 'workflow', 142 - ), 143 - pht('Add New Address'))); 138 + $icon = id(new PHUIIconView()) 139 + ->setSpriteSheet(PHUIIconView::SPRITE_ICONS) 140 + ->setSpriteIcon('new'); 141 + 142 + $button = new PHUIButtonView(); 143 + $button->setText(pht('Add New Address')); 144 + $button->setTag('a'); 145 + $button->setHref($uri->alter('new', 'true')); 146 + $button->setIcon($icon); 147 + $button->addSigil('workflow'); 148 + $header->addActionLink($button); 144 149 } 145 - $view->setHeader(pht('Email Addresses')); 150 + $view->setHeader($header); 146 151 $view->appendChild($table); 147 - $view->setNoBackground(); 148 152 149 153 return $view; 150 154 }
+2 -1
webroot/rsrc/css/phui/phui-header-view.css
··· 44 44 position: relative; 45 45 } 46 46 47 - .phui-header-view a { 47 + .phui-header-view a, 48 + .phui-header-view a.simple { 48 49 color: {$darkbluetext}; 49 50 } 50 51