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;')
);
?>
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') ?>