Differential D18626 Diff 44738 src/applications/differential/xaction/DifferentialRevisionAcceptTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionAcceptTransaction.php
| <?php | <?php | ||||
| final class DifferentialRevisionAcceptTransaction | final class DifferentialRevisionAcceptTransaction | ||||
| extends DifferentialRevisionReviewTransaction { | extends DifferentialRevisionReviewTransaction { | ||||
| const TRANSACTIONTYPE = 'differential.revision.accept'; | const TRANSACTIONTYPE = 'differential.revision.accept'; | ||||
| const ACTIONKEY = 'accept'; | const ACTIONKEY = 'accept'; | ||||
| protected function getRevisionActionLabel() { | protected function getRevisionActionLabel() { | ||||
| return pht("Accept Revision \xE2\x9C\x94"); | return pht("Accept Revision \xE2\x9C\x94"); | ||||
| } | } | ||||
| protected function getRevisionActionDescription() { | protected function getRevisionActionDescription( | ||||
| DifferentialRevision $revision) { | |||||
| return pht('These changes will be approved.'); | return pht('These changes will be approved.'); | ||||
| } | } | ||||
| public function getIcon() { | public function getIcon() { | ||||
| return 'fa-check-circle-o'; | return 'fa-check-circle-o'; | ||||
| } | } | ||||
| public function getColor() { | public function getColor() { | ||||
| ▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines | |||||