mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-24 15:48:27 +00:00
Merge pull request #6 from brianteeman/patch-1
Quick fix to change colour for revert patch button
This commit is contained in:
commit
b83ffa291e
@ -63,7 +63,7 @@ foreach ($this->items as $i => $item) :
|
|||||||
</td>
|
</td>
|
||||||
<td class="center">
|
<td class="center">
|
||||||
<?php if ($patch && $patch->applied) :
|
<?php if ($patch && $patch->applied) :
|
||||||
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.revert\', ' . (int) $patch->id . ');">' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . '</a>';
|
echo '<a class="btn btn-small btn-success" href="javascript:submitpatch(\'pull.revert\', ' . (int) $patch->id . ');">' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . '</a>';
|
||||||
else :
|
else :
|
||||||
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.apply\', ' . (int) $item->number . ');">' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . '</a>';
|
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.apply\', ' . (int) $item->number . ');">' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . '</a>';
|
||||||
endif; ?>
|
endif; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user