33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 19:09:00 +00:00

Fixed styling of links on Joomla 5

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2023-08-03 20:48:24 +02:00
parent e211ef0271
commit b74c149f36
No known key found for this signature in database
GPG Key ID: 6D30CD38749A5B9E

View File

@ -40,14 +40,14 @@ foreach ($this->items as $i => $item) :
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-auto"> <div class="col-md-auto">
<a class="badge btn-info" href="<?php echo $item->pull_url; ?>" target="_blank"> <a class="badge btn-info bg-info" href="<?php echo $item->pull_url; ?>" target="_blank">
<?php echo Text::_('COM_PATCHTESTER_VIEW_ON_GITHUB'); ?> <?php echo Text::_('COM_PATCHTESTER_VIEW_ON_GITHUB'); ?>
</a> </a>
</div> </div>
<?php if ($this->trackerAlias) : <?php if ($this->trackerAlias) :
?> ?>
<div class="col-md-auto"> <div class="col-md-auto">
<a class="badge btn-info" <a class="badge btn-info bg-info"
href="https://issues.joomla.org/tracker/<?php echo $this->trackerAlias; ?>/<?php echo $item->pull_id; ?>" href="https://issues.joomla.org/tracker/<?php echo $this->trackerAlias; ?>/<?php echo $item->pull_id; ?>"
target="_blank"> target="_blank">
<?php echo Text::_('COM_PATCHTESTER_VIEW_ON_JOOMLA_ISSUE_TRACKER'); ?> <?php echo Text::_('COM_PATCHTESTER_VIEW_ON_JOOMLA_ISSUE_TRACKER'); ?>
@ -58,7 +58,7 @@ foreach ($this->items as $i => $item) :
<?php if ($item->applied) : <?php if ($item->applied) :
?> ?>
<div class="col-md-auto"> <div class="col-md-auto">
<span class="badge btn-info"><?php echo Text::sprintf('COM_PATCHTESTER_APPLIED_COMMIT_SHA', substr($item->sha, 0, 10)); ?></span> <span class="badge btn-info bg-info"><?php echo Text::sprintf('COM_PATCHTESTER_APPLIED_COMMIT_SHA', substr($item->sha, 0, 10)); ?></span>
</div> </div>
<?php <?php
endif; ?> endif; ?>