mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
Add print styles for Phortune carts
Summary: Fixes T10899, adds styles specifically for printing Phortune carts. Test Plan: Print a Phortune cart Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T10899 Differential Revision: https://secure.phabricator.com/D16079
This commit is contained in:
parent
a653d4d9b3
commit
3453507230
3 changed files with 14 additions and 2 deletions
|
@ -86,7 +86,7 @@ return array(
|
|||
'rsrc/css/application/pholio/pholio-inline-comments.css' => '8e545e49',
|
||||
'rsrc/css/application/pholio/pholio.css' => 'ca89d380',
|
||||
'rsrc/css/application/phortune/phortune-credit-card-form.css' => '8391eb02',
|
||||
'rsrc/css/application/phortune/phortune.css' => '9149f103',
|
||||
'rsrc/css/application/phortune/phortune.css' => '5b99dae0',
|
||||
'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad',
|
||||
'rsrc/css/application/phriction/phriction-document-css.css' => '4282e4ad',
|
||||
'rsrc/css/application/policy/policy-edit.css' => '815c66f7',
|
||||
|
@ -814,7 +814,7 @@ return array(
|
|||
'pholio-inline-comments-css' => '8e545e49',
|
||||
'phortune-credit-card-form' => '2290aeef',
|
||||
'phortune-credit-card-form-css' => '8391eb02',
|
||||
'phortune-css' => '9149f103',
|
||||
'phortune-css' => '5b99dae0',
|
||||
'phrequent-css' => 'ffc185ad',
|
||||
'phriction-document-css' => '4282e4ad',
|
||||
'phui-action-panel-css' => '91c7b835',
|
||||
|
|
|
@ -8,6 +8,7 @@ final class PhortuneCartViewController
|
|||
$id = $request->getURIData('id');
|
||||
|
||||
$authority = $this->loadMerchantAuthority();
|
||||
require_celerity_resource('phortune-css');
|
||||
|
||||
$query = id(new PhortuneCartQuery())
|
||||
->setViewer($viewer)
|
||||
|
@ -208,6 +209,7 @@ final class PhortuneCartViewController
|
|||
return $this->newPage()
|
||||
->setTitle(pht('Cart %d', $cart->getID()))
|
||||
->setCrumbs($crumbs)
|
||||
->addClass('phortune-cart-page')
|
||||
->appendChild($view);
|
||||
|
||||
}
|
||||
|
|
|
@ -24,3 +24,13 @@
|
|||
margin: 0 0 8px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.printable.phortune-cart-page .phui-two-column-view .phui-two-column-content
|
||||
.phui-main-column {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.printable.phortune-cart-page .phui-two-column-view .phui-two-column-content
|
||||
.phui-side-column {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue