Fixed branch link in the timeline

This commit is contained in:
Dmitry Khomutov 2017-02-28 21:04:14 +07:00
parent 651aba0267
commit d8fbbd739b
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
2 changed files with 4 additions and 2 deletions

View file

@ -52,7 +52,7 @@
<h3 class="timeline-header">
<a href="<?php print APP_URL; ?>project/view/<?php print $build->getProjectId(); ?>">
<?php print $build->getProject()->getTitle(); ?>
</a> (<?= $build->getProject()->getBranch(); ?>)
</a>
-
<a href="<?php print APP_URL; ?>build/view/<?php print $build->getId(); ?>">
Build #<?php print $build->getId(); ?>
@ -62,6 +62,7 @@
</h3>
<div class="timeline-body">
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getProject()->getBranch(); ?></a> -
<?php
if ($build->getCommitId() !== 'Manual') {
print sprintf(

View file

@ -78,7 +78,7 @@
<h3 class="timeline-header">
<a href="<?php print APP_URL; ?>project/view/<?php print $build->getProjectId(); ?>">
<?php print $build->getProject()->getTitle(); ?>
</a> (<?= $build->getProject()->getBranch(); ?>)
</a>
-
<a href="<?php print APP_URL; ?>build/view/<?php print $build->getId(); ?>">
Build #<?php print $build->getId(); ?>
@ -88,6 +88,7 @@
</h3>
<div class="timeline-body">
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getProject()->getBranch(); ?></a> -
<?php
if ($build->getCommitId() !== 'Manual') {
print sprintf(