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

Add Recent label to Conpherence thread list

Summary: Fix 'No Conpherences' layout, add 'Recent' label to list.

Test Plan: test with and without a list of threads.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

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

+21 -9
+2 -2
resources/celerity/map.php
··· 46 46 'rsrc/css/application/config/config-welcome.css' => 'b0d16200', 47 47 'rsrc/css/application/config/setup-issue.css' => '8f852bc0', 48 48 'rsrc/css/application/config/unhandled-exception.css' => '37d4f9a2', 49 - 'rsrc/css/application/conpherence/menu.css' => 'e1e0fdf1', 49 + 'rsrc/css/application/conpherence/menu.css' => '73774137', 50 50 'rsrc/css/application/conpherence/message-pane.css' => '684d1b80', 51 51 'rsrc/css/application/conpherence/notification.css' => '04a6e10a', 52 52 'rsrc/css/application/conpherence/update.css' => '1099a660', ··· 508 508 'changeset-view-manager' => '5eb5b98c', 509 509 'config-options-css' => '7fedf08b', 510 510 'config-welcome-css' => 'b0d16200', 511 - 'conpherence-menu-css' => 'e1e0fdf1', 511 + 'conpherence-menu-css' => '73774137', 512 512 'conpherence-message-pane-css' => '684d1b80', 513 513 'conpherence-notification-css' => '04a6e10a', 514 514 'conpherence-update-css' => '1099a660',
+11 -1
src/applications/conpherence/view/ConpherenceThreadListView.php
··· 113 113 $menu->addMenuItem($item); 114 114 } 115 115 116 + $header = $this->renderMenuItemHeader(pht('Recent')); 117 + $menu->addMenuItem($header); 118 + 116 119 foreach ($conpherences as $conpherence) { 117 120 $item = $this->renderThreadItem($conpherence); 118 121 $menu->addMenuItem($item); ··· 128 131 } 129 132 130 133 return $menu; 134 + } 135 + 136 + private function renderMenuItemHeader($title) { 137 + $item = id(new PHUIListItemView()) 138 + ->setType(PHUIListItemView::TYPE_LABEL) 139 + ->setName($title); 140 + return $item; 131 141 } 132 142 133 143 public function getScrollMenuItem( ··· 159 169 array( 160 170 'class' => 'no-conpherences-menu-item', 161 171 ), 162 - pht('No conpherences.')); 172 + pht('No Conpherences')); 163 173 164 174 return id(new PHUIListItemView()) 165 175 ->setType(PHUIListItemView::TYPE_CUSTOM)
+8 -6
webroot/rsrc/css/application/conpherence/menu.css
··· 175 175 font-size: 11px; 176 176 } 177 177 178 + .conpherence-menu-item-header { 179 + font-weight: bold; 180 + text-transform: uppercase; 181 + color: {$bluetext}; 182 + } 183 + 178 184 .no-conpherences-menu-item { 179 - color: #a1a5a9; 180 - border-top: solid 1px #3B3D3E; 181 - padding: 20px 0; 182 - margin: 0px auto; 183 - width: 280px; 184 - text-align: center; 185 + color: {$bluetext}; 186 + padding: 4px 12px; 185 187 }