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

Merge pull request #6 from brianteeman/patch-1

Quick fix to change colour for revert patch button
This commit is contained in:
Michael Babker 2013-08-12 14:06:33 -07:00
commit b83ffa291e

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; ?>