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:
commit
b83ffa291e
@ -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; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user