@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.

Fix header tag on Hovercards

Summary: Switch to new method.

Test Plan: Hover over task, see tag in correct place.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

authored by

Chad Little and committed by
chad
5a43e204 fec1a154

+12 -6
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'c0f196d2', 10 + 'core.pkg.css' => '3d58b25a', 11 11 'core.pkg.js' => '7d8faf57', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => '2de124c9', ··· 135 135 'rsrc/css/phui/phui-form-view.css' => '4a1a0f5e', 136 136 'rsrc/css/phui/phui-form.css' => 'aac1d51d', 137 137 'rsrc/css/phui/phui-head-thing.css' => '11731da0', 138 - 'rsrc/css/phui/phui-header-view.css' => '32e71367', 138 + 'rsrc/css/phui/phui-header-view.css' => '26cffd3d', 139 139 'rsrc/css/phui/phui-hovercard.css' => 'de1a2119', 140 140 'rsrc/css/phui/phui-icon-set-selector.css' => '1ab67aad', 141 141 'rsrc/css/phui/phui-icon.css' => '3f33ab57', ··· 820 820 'phui-form-css' => 'aac1d51d', 821 821 'phui-form-view-css' => '4a1a0f5e', 822 822 'phui-head-thing-view-css' => '11731da0', 823 - 'phui-header-view-css' => '32e71367', 823 + 'phui-header-view-css' => '26cffd3d', 824 824 'phui-hovercard' => '1bd28176', 825 825 'phui-hovercard-view-css' => 'de1a2119', 826 826 'phui-icon-set-selector-css' => '1ab67aad',
+2 -1
src/applications/passphrase/controller/PassphraseCredentialViewController.php
··· 59 59 $header = id(new PHUIHeaderView()) 60 60 ->setUser($viewer) 61 61 ->setHeader($credential->getName()) 62 - ->setPolicyObject($credential); 62 + ->setPolicyObject($credential) 63 + ->setHeaderIcon('fa-user-secret'); 63 64 64 65 if ($credential->getIsDestroyed()) { 65 66 $header->setStatus('fa-ban', 'red', pht('Destroyed'));
+2 -1
src/applications/paste/controller/PhabricatorPasteViewController.php
··· 110 110 ->setHeader($title) 111 111 ->setUser($this->getRequest()->getUser()) 112 112 ->setStatus($header_icon, $header_color, $header_name) 113 - ->setPolicyObject($paste); 113 + ->setPolicyObject($paste) 114 + ->setHeaderIcon('fa-clipboard'); 114 115 115 116 return $header; 116 117 }
+1 -1
src/view/phui/PHUIHovercardView.php
··· 106 106 $header->setHeader($title); 107 107 if ($this->tags) { 108 108 foreach ($this->tags as $tag) { 109 - $header->addTag($tag); 109 + $header->addActionItem($tag); 110 110 } 111 111 } 112 112
+4
webroot/rsrc/css/phui/phui-header-view.css
··· 175 175 margin-top: 8px; 176 176 } 177 177 178 + .phui-header-subheader .phui-icon-view { 179 + margin-right: 4px; 180 + } 181 + 178 182 .phui-header-subheader .phui-tag-view .phui-icon-view, 179 183 .phui-header-subheader .policy-header-callout .phui-icon-view { 180 184 display: inline-block;