Skip to content

Commit

Permalink
[4.0] Mobile Database fix
Browse files Browse the repository at this point in the history
The columns being displayed at mobile resolutions were wrong.

Location and Type are not essential so have been removed from mobile view
Problems is essential and has been added to mobile view
  • Loading branch information
brianteeman committed Oct 3, 2021
1 parent 51c3eb3 commit 7fe2b9d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions administrator/components/com_installer/tmpl/database/default.php
Expand Up @@ -35,8 +35,8 @@
<table class="table">
<caption class="visually-hidden">
<?php echo Text::_('COM_INSTALLER_DATABASE_TABLE_CAPTION'); ?>,
<span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>,
<span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span>
<span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>,
<span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span>
</caption>
<thead>
<tr>
Expand All @@ -46,13 +46,13 @@
<th scope="col">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirection, $listOrder); ?>
</th>
<th scope="col" class="w-10">
<th scope="col" class="w-10 d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_LOCATION', 'client_translated', $listDirection, $listOrder); ?>
</th>
<th scope="col" class="w-10">
<th scope="col" class="w-10 d-none d-md-table-cell">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_TYPE', 'type_translated', $listDirection, $listOrder); ?>
</th>
<th scope="col" class="w-10 d-none d-md-table-cell">
<th scope="col" class="w-10">
<?php echo Text::_('COM_INSTALLER_HEADING_PROBLEMS'); ?>
</th>
<th scope="col" class="w-10 d-none d-md-table-cell text-end">
Expand Down Expand Up @@ -84,13 +84,13 @@
<?php echo Text::_($manifest->description); ?>
</div>
</th>
<td>
<td class="d-none d-md-table-cell">
<?php echo $extension->client_translated; ?>
</td>
<td>
<td class="d-none d-md-table-cell">
<?php echo $extension->type_translated; ?>
</td>
<td class="d-none d-md-table-cell">
<td>
<span class="badge bg-<?php echo count($item['results']['error']) ? 'danger' : ($item['errorsCount'] ? 'warning text-dark' : 'success'); ?>" tabindex="0">
<?php echo Text::plural('COM_INSTALLER_MSG_DATABASE_ERRORS', $item['errorsCount']); ?>
</span>
Expand Down

0 comments on commit 7fe2b9d

Please sign in to comment.