@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 Phriction History UI

Summary: Uses cards, fixes bgcolors.

Test Plan: View edit history on a few documents.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin, chad

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

+8 -5
+2 -2
resources/celerity/map.php
··· 87 87 'rsrc/css/application/pholio/pholio.css' => 'd23ace50', 88 88 'rsrc/css/application/phortune/phortune-credit-card-form.css' => 'b25b4beb', 89 89 'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad', 90 - 'rsrc/css/application/phriction/phriction-document-css.css' => 'b0309d8e', 90 + 'rsrc/css/application/phriction/phriction-document-css.css' => '7d7f0071', 91 91 'rsrc/css/application/policy/policy-edit.css' => '05cca26a', 92 92 'rsrc/css/application/policy/policy.css' => '957ea14c', 93 93 'rsrc/css/application/ponder/comments.css' => '6cdccea7', ··· 739 739 'phortune-credit-card-form' => '2290aeef', 740 740 'phortune-credit-card-form-css' => 'b25b4beb', 741 741 'phrequent-css' => 'ffc185ad', 742 - 'phriction-document-css' => 'b0309d8e', 742 + 'phriction-document-css' => '7d7f0071', 743 743 'phui-box-css' => 'a36cf3a5', 744 744 'phui-button-css' => '8784a966', 745 745 'phui-calendar-css' => '5e1ad989',
+2 -1
src/applications/phriction/controller/PhrictionDiffController.php
··· 180 180 181 181 182 182 $output = hsprintf( 183 - '<br><div class="phriction-document-history-diff">'. 183 + '<div class="phriction-document-history-diff">'. 184 184 '%s%s'. 185 185 '<table class="phriction-revert-table">'. 186 186 '<tr><td>%s</td><td>%s</td>'. ··· 257 257 $handles = $this->loadViewerHandles($phids); 258 258 259 259 $list = new PHUIObjectItemListView(); 260 + $list->setCards(true); 260 261 $list->setFlush(true); 261 262 262 263 $first = true;
+2
src/applications/phriction/controller/PhrictionHistoryController.php
··· 42 42 $handles = $this->loadViewerHandles($author_phids); 43 43 44 44 $list = new PHUIObjectItemListView(); 45 + $list->setCards(true); 46 + $list->setFlush(true); 45 47 46 48 foreach ($history as $content) { 47 49
+2 -2
webroot/rsrc/css/application/phriction/phriction-document-css.css
··· 62 62 63 63 .phriction-history-nav-table { 64 64 width: 100%; 65 - margin-bottom: 20px; 66 65 } 67 66 68 67 .phriction-history-nav-table td { ··· 71 70 } 72 71 73 72 .phriction-history-nav-table td { 74 - padding: 8px 16px; 73 + padding: 0 12px 12px; 74 + background-color: #E5E8EE; 75 75 } 76 76 77 77 .phriction-history-nav-table td.nav-next {