Skip to content

Commit b83ffa2

Browse files
committed
Merge pull request ianmacl#6 from brianteeman/patch-1
Quick fix to change colour for revert patch button
2 parents 1c3edbd + eadd111 commit b83ffa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_patchtester/views/pulls/tmpl/default_items.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</td>
6464
<td class="center">
6565
<?php if ($patch && $patch->applied) :
66-
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.revert\', ' . (int) $patch->id . ');">' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . '</a>';
66+
echo '<a class="btn btn-small btn-success" href="javascript:submitpatch(\'pull.revert\', ' . (int) $patch->id . ');">' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . '</a>';
6767
else :
6868
echo '<a class="btn btn-small btn-primary" href="javascript:submitpatch(\'pull.apply\', ' . (int) $item->number . ');">' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . '</a>';
6969
endif; ?>

0 commit comments

Comments
 (0)