Merge pull request #62 from JoolsMcFly/fix/wrong-branch-name-in-timeline
display build branch instead of project branch in Home/index and ajax-timeline
This commit is contained in:
commit
2ca32044db
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
?>
|
||||
|
@ -78,7 +78,7 @@ use PHPCensor\Model\Build;
|
|||
</h3>
|
||||
|
||||
<div class="timeline-body">
|
||||
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getProject()->getBranch(); ?></a>
|
||||
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getBranch(); ?></a>
|
||||
<?php print $branches ? ' + '.implode(', ', $branches) : ''; ?> -
|
||||
<?php
|
||||
if ($build->getCommitId() !== 'Manual') {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
|
@ -109,7 +109,7 @@ use PHPCensor\Model\Build;
|
|||
</h3>
|
||||
|
||||
<div class="timeline-body">
|
||||
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getProject()->getBranch(); ?></a>
|
||||
<a href="<?php echo $build->getBranchLink();?>"><?php echo $build->getBranch(); ?></a>
|
||||
<?php print $branches ? ' + '.implode(', ', $branches) : ''; ?> -
|
||||
<?php
|
||||
if ($build->getCommitId() !== 'Manual') {
|
||||
|
|
Loading…
Reference in a new issue