33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-01-23 07:08:33 +00:00

Quick fix to change colour for revert patch button

This commit is contained in:
Brian Teeman 2013-08-12 22:05:06 +01:00
parent ebb396869e
commit eadd111664

View File

@ -63,7 +63,7 @@ foreach ($this->items as $i => $item) :
</td>
<td class="center">
<?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 :
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.apply\', ' . (int) $item->number . ');">' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . '</a>';
endif; ?>