Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/view/DifferentialAddCommentView.php
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | Javelin::initBehavior( | ||||
| 'actions' => array( | 'actions' => array( | ||||
| 'request_review' => 1, | 'request_review' => 1, | ||||
| 'add_reviewers' => 1, | 'add_reviewers' => 1, | ||||
| 'resign' => 1, | 'resign' => 1, | ||||
| ), | ), | ||||
| 'src' => '/typeahead/common/usersorprojects/', | 'src' => '/typeahead/common/usersorprojects/', | ||||
| 'value' => $this->reviewers, | 'value' => $this->reviewers, | ||||
| 'row' => 'add-reviewers', | 'row' => 'add-reviewers', | ||||
| 'ondemand' => PhabricatorEnv::getEnvConfig('tokenizer.ondemand'), | |||||
| 'labels' => $add_reviewers_labels, | 'labels' => $add_reviewers_labels, | ||||
| 'placeholder' => pht('Type a user or project name...'), | 'placeholder' => pht('Type a user or project name...'), | ||||
| ), | ), | ||||
| 'add-ccs-tokenizer' => array( | 'add-ccs-tokenizer' => array( | ||||
| 'actions' => array('add_ccs' => 1), | 'actions' => array('add_ccs' => 1), | ||||
| 'src' => '/typeahead/common/mailable/', | 'src' => '/typeahead/common/mailable/', | ||||
| 'value' => $this->ccs, | 'value' => $this->ccs, | ||||
| 'row' => 'add-ccs', | 'row' => 'add-ccs', | ||||
| 'ondemand' => PhabricatorEnv::getEnvConfig('tokenizer.ondemand'), | |||||
| 'placeholder' => pht('Type a user or mailing list...'), | 'placeholder' => pht('Type a user or mailing list...'), | ||||
| ), | ), | ||||
| ), | ), | ||||
| 'select' => 'comment-action', | 'select' => 'comment-action', | ||||
| )); | )); | ||||
| $diff = $revision->loadActiveDiff(); | $diff = $revision->loadActiveDiff(); | ||||
| $warnings = mpull($this->auxFields, 'renderWarningBoxForRevisionAccept'); | $warnings = mpull($this->auxFields, 'renderWarningBoxForRevisionAccept'); | ||||
| ▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines | |||||