Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/editor/PhabricatorAuditEditor.php
| Show First 20 Lines • Show All 713 Lines • ▼ Show 20 Lines | if ($user_phids) { | ||||
| implode(', ', $roles)); | implode(', ', $roles)); | ||||
| } | } | ||||
| $body->addTextSection( | $body->addTextSection( | ||||
| pht('USERS'), | pht('USERS'), | ||||
| implode("\n", $user_info)); | implode("\n", $user_info)); | ||||
| } | } | ||||
| $monogram = $object->getRepository()->formatCommitName( | $repository = $object->getRepository(); | ||||
| $object->getCommitIdentifier()); | $monogram = $repository->formatCommitName($object->getCommitIdentifier()); | ||||
| $body->addTextSection( | |||||
| pht('REPOSITORY'), | |||||
| $repository->getMonogram().' '.$repository->getName()); | |||||
| $body->addLinkSection( | $body->addLinkSection( | ||||
| pht('COMMIT'), | pht('COMMIT'), | ||||
| PhabricatorEnv::getProductionURI('/'.$monogram)); | PhabricatorEnv::getProductionURI('/'.$monogram)); | ||||
| return $body; | return $body; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 255 Lines • Show Last 20 Lines | |||||