Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionCommitController.php
| Show First 20 Lines • Show All 758 Lines • ▼ Show 20 Lines | $form = id(new AphrontFormView()) | ||||
| id(new PhabricatorRemarkupControl()) | id(new PhabricatorRemarkupControl()) | ||||
| ->setLabel(pht('Comments')) | ->setLabel(pht('Comments')) | ||||
| ->setName('content') | ->setName('content') | ||||
| ->setValue($draft) | ->setValue($draft) | ||||
| ->setID('audit-content') | ->setID('audit-content') | ||||
| ->setUser($user)) | ->setUser($user)) | ||||
| ->appendChild( | ->appendChild( | ||||
| id(new AphrontFormSubmitControl()) | id(new AphrontFormSubmitControl()) | ||||
| ->setValue($is_serious ? pht('Submit') : pht('Cook the Books'))); | ->setValue(pht('Submit'))); | ||||
| $header = new PHUIHeaderView(); | $header = new PHUIHeaderView(); | ||||
| $header->setHeader( | $header->setHeader( | ||||
| $is_serious ? pht('Audit Commit') : pht('Creative Accounting')); | $is_serious ? pht('Audit Commit') : pht('Creative Accounting')); | ||||
| require_celerity_resource('phabricator-transaction-view-css'); | require_celerity_resource('phabricator-transaction-view-css'); | ||||
| Javelin::initBehavior( | Javelin::initBehavior( | ||||
| ▲ Show 20 Lines • Show All 378 Lines • Show Last 20 Lines | |||||