get('p4_admin'); $review = $event->getParam('review'); $change = P4\Spec\Change::fetch($review->getHeadChange(), $p4Admin); $shelf = $review->getId() === $change->getId() ? $change : P4\Spec\Change::fetch($review->getId(), $p4Admin); $user = $activity->get('user'); $userLink = $user ? $this->qualifiedUrl('user', array('user' => $user)) : null; $targetLink = $activity->getUrl($this->plugin('qualifiedUrl')); $projects = $this->projectList( $event->getParam('review')->getProjects(), null, array('baseUrl' => $this->qualifiedUrl(), 'style' => 'text-decoration: none;') ); ?>
escapeHtml($user) ?> te($activity->get('action')) ?> escapeHtml($activity->get('target'))?> get('preposition') && $projects): ?> te($activity->get('preposition')) . ' ' . $projects ?>

getDetails('reviewers')) { echo '
'; echo $this->reviewersChanges($activity->getDetails('reviewers')) ->setBaseUrl($this->qualifiedUrl()); echo '

'; } if (trim($activity->get('description'))) { echo '
'; echo $this->preformat($activity->get('description')) ->setBaseUrl($this->qualifiedUrl()) ->setEmojify(false) ->setWordWrap(900); echo '

'; } ?> getJobs())): ?>
te('JOBS') ?>
getJobObjects() as $job) { // prepare job description: // - convert line breaks into spaces // - trim to length of 60 chars $description = str_replace("\n", " ", trim($job->getDescription())); $description = (string) $this->truncate($description, 55); $url = $this->qualifiedUrl('job', array('job' => $job->getId())); echo '' . $this->escapeHtml($job->getId()) . '' . ' ' . $this->escapeHtml($job->getStatus()) . ': ' . $this->preformat($description)->setBaseUrl($this->qualifiedUrl())->setEmojify(false) . "
\n"; } ?>

te('FILES') ?>
getFileData(true, $limit + 1); foreach (array_slice($files, 0, $limit) as $file) { $url = $targetLink . '#' . md5($file['depotFile']); echo '' . $this->decodeFilespec($file['depotFile']) . '' . '#' . $this->escapeHtml($file['rev']) . ' ' . $this->escapeHtml($file['action']) . "
\n"; } echo count($files) > $limit ? '' . $this->te('Snip') . ' ' . '(>' . $limit . ' ' . $this->te('files') . ')' : ''; ?>