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

Use new DocumentView for Legalpad previews

Summary: Moves to showing Legalpad previews using PHUIDocumentViewPro

Test Plan: Create a new document, edit an existing document

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+5 -5
+2 -2
resources/celerity/map.php
··· 143 143 'rsrc/css/phui/phui-pager.css' => 'bea33d23', 144 144 'rsrc/css/phui/phui-pinboard-view.css' => '2495140e', 145 145 'rsrc/css/phui/phui-property-list-view.css' => '27b2849e', 146 - 'rsrc/css/phui/phui-remarkup-preview.css' => '867f85b3', 146 + 'rsrc/css/phui/phui-remarkup-preview.css' => '1a8f2591', 147 147 'rsrc/css/phui/phui-spacing.css' => '042804d6', 148 148 'rsrc/css/phui/phui-status.css' => '888cedb8', 149 149 'rsrc/css/phui/phui-tag-view.css' => 'e60e227b', ··· 808 808 'phui-pager-css' => 'bea33d23', 809 809 'phui-pinboard-view-css' => '2495140e', 810 810 'phui-property-list-view-css' => '27b2849e', 811 - 'phui-remarkup-preview-css' => '867f85b3', 811 + 'phui-remarkup-preview-css' => '1a8f2591', 812 812 'phui-spacing-css' => '042804d6', 813 813 'phui-status-list-view-css' => '888cedb8', 814 814 'phui-tag-view-css' => 'e60e227b',
+2 -2
src/applications/legalpad/controller/LegalpadDocumentEditController.php
··· 243 243 $crumbs->addTextCrumb($short); 244 244 245 245 $preview = id(new PHUIRemarkupPreviewPanel()) 246 - ->setHeader(pht('Document Preview')) 246 + ->setHeader($document->getTitle()) 247 247 ->setPreviewURI($this->getApplicationURI('document/preview/')) 248 248 ->setControlID('document-text') 249 - ->addClass('phui-document-view'); 249 + ->setPreviewType(PHUIRemarkupPreviewPanel::DOCUMENT); 250 250 251 251 return $this->buildApplicationPage( 252 252 array(
+1 -1
webroot/rsrc/css/phui/phui-remarkup-preview.css
··· 41 41 * <div /> or not. It should probably move to the Engine in all cases, but 42 42 * until we do that get rid of the extra spacing generated by the inner div. 43 43 */ 44 - .phui-remarkup-preview .phabricator-remarkup .phabricator-remarkup { 44 + body .phui-remarkup-preview .phabricator-remarkup .phabricator-remarkup { 45 45 padding: 0; 46 46 margin: 0; 47 47 }