@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 Document PropertyList item to LegalPad

Summary: Makes Legalpad a little easier to grok.

Test Plan: View Document

Reviewers: epriestley, btrahan

Reviewed By: btrahan

CC: Korvin, epriestley, aran

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

+7 -9
+7 -9
src/applications/legalpad/controller/LegalpadDocumentViewController.php
··· 88 88 89 89 $object_box = id(new PHUIObjectBoxView()) 90 90 ->setHeader($header) 91 - ->addPropertyList($properties); 91 + ->addPropertyList($properties) 92 + ->addPropertyList($this->buildDocument($engine, $document_body)); 92 93 93 94 $content = array( 94 95 $crumbs, 95 96 $object_box, 96 - $this->buildDocument($engine, $document_body), 97 97 $xaction_view, 98 98 $add_comment, 99 99 ); ··· 111 111 PhabricatorMarkupEngine 112 112 $engine, LegalpadDocumentBody $body) { 113 113 114 - require_celerity_resource('legalpad-documentbody-css'); 115 - 116 - return phutil_tag( 117 - 'div', 118 - array( 119 - 'class' => 'legalpad-documentbody' 120 - ), 114 + $view = new PHUIPropertyListView(); 115 + $view->addSectionHeader(pht('Document')); 116 + $view->addTextContent( 121 117 $engine->getOutput($body, LegalpadDocumentBody::MARKUP_FIELD_TEXT)); 118 + 119 + return $view; 122 120 123 121 } 124 122