Skip to content

Commit 326f30a

Browse files
author
Quy
authored
[4.0] Fix obsolete class and badge background color (#34858)
* Replace obsolete class * Change badge background color for readability
1 parent 12c9e9f commit 326f30a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

administrator/components/com_installer/tmpl/update/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</td>
125125
<td class="d-none d-md-table-cell text-center">
126126
<?php if (!empty($item->changelogurl)) : ?>
127-
<a href="#changelogModal<?php echo $item->extension_id; ?>" class="btn btn-info btn-xs changelogModal" data-js-extensionid="<?php echo $item->extension_id; ?>" data-js-view="update" data-bs-toggle="modal">
127+
<a href="#changelogModal<?php echo $item->extension_id; ?>" class="btn btn-info btn-sm changelogModal" data-js-extensionid="<?php echo $item->extension_id; ?>" data-js-view="update" data-bs-toggle="modal">
128128
<?php echo Text::_('COM_INSTALLER_CHANGELOG'); ?>
129129
</a>
130130
<?php

layouts/joomla/installer/changelog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ($items, $changeType) {
2929
$class = 'bg-dark';
3030
break;
3131
case 'language':
32-
$class = 'bg-jlanguage';
32+
$class = 'bg-primary';
3333
break;
3434
case 'addition':
3535
$class = 'bg-success';
@@ -38,7 +38,7 @@ function ($items, $changeType) {
3838
$class = 'bg-warning text-dark';
3939
break;
4040
case 'remove':
41-
$class = 'bg-light text-dark';
41+
$class = 'bg-secondary';
4242
break;
4343
default:
4444
case 'note':

0 commit comments

Comments
 (0)