20 lines
938 B
PHTML
20 lines
938 B
PHTML
<li>
|
|
<a href="<?php print PHPCI_URL; ?>build/view/<?php print $build->getId(); ?>">
|
|
<?php if ($build->getCommitterEmail()): ?>
|
|
<div class="pull-left">
|
|
<img src="https://www.gravatar.com/avatar/<?php print md5($build->getCommitterEmail()); ?>?d=mm&s=40" class="img-circle" alt="">
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<h4>
|
|
<?php print $build->getProject()->getTitle(); ?>
|
|
|
|
<?php if ($build->getStatus() == \PHPCI\Model\Build::STATUS_NEW): ?>
|
|
<small class="pull-right">Created <?php print $build->getCreated()->format('g:ia'); ?></small>
|
|
<?php elseif ($build->getStatus() == \PHPCI\Model\Build::STATUS_RUNNING): ?>
|
|
<small class="pull-right">Started <?php print $build->getStarted()->format('g:ia'); ?></small>
|
|
<?php endif; ?>
|
|
</h4>
|
|
<p>Branch: <?php print $build->getBranch(); ?></p>
|
|
</a>
|
|
</li>
|