Skip to content

Commit

Permalink
Fixed issue: Hovering over disabled button (uninstall default theme) …
Browse files Browse the repository at this point in the history
…and also added icons to buttons in themes
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent f1fbad6 commit 2272102
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/models/TemplateConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ class="btn btn-primary btn-block selector--ConfirmModal">
data-button-type="btn-danger"
title="' . gT('Uninstall this theme') . '"
class="btn btn-danger btn-block selector--ConfirmModal">
<span class="icon-trash"></span>
<span class="fa fa-trash"></span>
' . gT('Uninstall') . '
</a>';

Expand All @@ -799,7 +799,7 @@ class="btn btn-danger btn-block selector--ConfirmModal">
data-button-type="btn-warning"
title="' . gT('Reset this theme') . '"
class="btn btn-warning btn-block selector--ConfirmModal">
<span class="icon-trash"></span>
<span class="fa fa-refresh"></span>
' . gT('Reset') . '
</a>';

Expand All @@ -813,12 +813,12 @@ class="btn btn-warning btn-block selector--ConfirmModal">
} else {
$sButtons .= '
<a
class="btn btn-danger btn-block"
disabled
class="btn btn-danger btn-block disabled"
data-toggle="tooltip"
data-placement="top"
title="' . gT('You cannot uninstall the default template.') . '"
>
<span class="icon-trash"></span>
<span class="fa fa-trash"></span>
' . gT('Uninstall') . '
</a>
';
Expand Down

0 comments on commit 2272102

Please sign in to comment.