Moved commit message to the new line in the timeline widget at home

page.
This commit is contained in:
Dmitry Khomutov 2018-02-28 10:19:02 +07:00
parent 58f1004652
commit 008dc74ff2
No known key found for this signature in database
GPG key ID: EC19426474B37AAC

View file

@ -87,6 +87,7 @@ use PHPCensor\Model\Build;
</h3>
<div class="timeline-body">
<p>
<?php if (Build::SOURCE_WEBHOOK_PULL_REQUEST === $build->getSource()): ?>
<a href="<?= $build->getRemoteBranchLink(); ?>">
<i class="fa fa-code-fork"></i>
@ -115,11 +116,12 @@ use PHPCensor\Model\Build;
$build->getCommitterEmail() ? ('(' . $build->getCommitterEmail() . ')') : ''
);
if (!empty($build->getCommitMessage())) {
echo ' &mdash; ';
echo '</p><p>';
print $build->getCommitMessage();
}
}
?>
</p>
</div>
</div>
</li>