@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 Legalpad "Sign" box

Summary: Missed converting this page, scenario. The box was poorly formatted.

Test Plan: Create a new document that needs signed, verify box is correctly spaced and colored.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+11 -14
+2 -2
resources/celerity/map.php
··· 128 128 'rsrc/css/phui/phui-chart.css' => '6bf6f78e', 129 129 'rsrc/css/phui/phui-crumbs-view.css' => '79d536e5', 130 130 'rsrc/css/phui/phui-curtain-view.css' => '7148ae25', 131 - 'rsrc/css/phui/phui-document-pro.css' => '92d5b648', 131 + 'rsrc/css/phui/phui-document-pro.css' => '73e45fd2', 132 132 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', 133 133 'rsrc/css/phui/phui-document.css' => '9c71d2bf', 134 134 'rsrc/css/phui/phui-feed-story.css' => '04aec08f', ··· 816 816 'phui-curtain-view-css' => '7148ae25', 817 817 'phui-document-summary-view-css' => '9ca48bdf', 818 818 'phui-document-view-css' => '9c71d2bf', 819 - 'phui-document-view-pro-css' => '92d5b648', 819 + 'phui-document-view-pro-css' => '73e45fd2', 820 820 'phui-feed-story-css' => '04aec08f', 821 821 'phui-font-icon-base-css' => '6449bce8', 822 822 'phui-fontkit-css' => '9cda225e',
+9 -8
src/applications/legalpad/controller/LegalpadDocumentSignController.php
··· 301 301 case LegalpadDocument::SIGNATURE_TYPE_INDIVIDUAL: 302 302 case LegalpadDocument::SIGNATURE_TYPE_CORPORATION: 303 303 $box = id(new PHUIObjectBoxView()) 304 + ->addClass('document-sign-box') 304 305 ->setHeaderText(pht('Agree and Sign Document')) 306 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 305 307 ->setForm($signature_form); 306 308 if ($error_view) { 307 309 $box->setInfoView($error_view); 308 310 } 309 - $signature_box = phutil_tag_div('phui-document-view-pro-box', $box); 311 + $signature_box = phutil_tag_div( 312 + 'phui-document-view-pro-box plt', $box); 310 313 break; 311 314 } 312 315 ··· 317 320 $crumbs->setBorder(true); 318 321 $crumbs->addTextCrumb($document->getMonogram()); 319 322 320 - return $this->buildApplicationPage( 321 - array( 322 - $crumbs, 323 + return $this->newPage() 324 + ->setTitle($title) 325 + ->setCrumbs($crumbs) 326 + ->setPageObjectPHIDs(array($document->getPHID())) 327 + ->appendChild(array( 323 328 $content, 324 329 $signature_box, 325 - ), 326 - array( 327 - 'title' => $title, 328 - 'pageObjects' => array($document->getPHID()), 329 330 )); 330 331 } 331 332
-4
webroot/rsrc/css/phui/phui-document-pro.css
··· 190 190 margin: 0; 191 191 } 192 192 193 - .phui-document-view-pro-box .phui-object-box .phui-form-view { 194 - padding-bottom: 0; 195 - } 196 - 197 193 .phui-document-view-pro-box .phui-object-box .remarkup-assist-textarea { 198 194 height: 9em; 199 195 }