Skip to content

Commit cb89483

Browse files
committed
[4.0]com_csp mobile
You cant just "hide" the cells in the table body you haave to hide the cells in the table header as well To test you will need to enable the "Detect" mode in the com_csp options and browse a few pages in the admin to gather some data cc / @zero-24
1 parent cd6ba3e commit cb89483

File tree

1 file changed

+6
-6
lines changed
  • administrator/components/com_csp/tmpl/reports

1 file changed

+6
-6
lines changed

administrator/components/com_csp/tmpl/reports/default.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,19 @@
7676
<th scope="col" class="text-center">
7777
<?php echo HTMLHelper::_('searchtools.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?>
7878
</th>
79-
<th scope="col">
79+
<th scope="col" class="d-md-table-cell">
8080
<?php echo HTMLHelper::_('searchtools.sort', 'COM_CSP_HEADING_DOCUMENT_URI', 'a.document_uri', $listDirn, $listOrder); ?>
8181
</th>
82-
<th scope="col">
82+
<th scope="col" class="d-none d-md-table-cell">
8383
<?php echo HTMLHelper::_('searchtools.sort', 'COM_CSP_HEADING_BLOCKED_URI', 'a.blocked_uri', $listDirn, $listOrder); ?>
8484
</th>
85-
<th scope="col">
85+
<th scope="col" class="d-none d-md-table-cell">
8686
<?php echo HTMLHelper::_('searchtools.sort', 'COM_CSP_HEADING_DIRECTIVE', 'a.directive', $listDirn, $listOrder); ?>
8787
</th>
88-
<th scope="col">
88+
<th scope="col" class="d-none d-md-table-cell">
8989
<?php echo HTMLHelper::_('searchtools.sort', 'JCLIENT', 'a.client', $listDirn, $listOrder); ?>
9090
</th>
91-
<th scope="col">
91+
<th scope="col" class="d-none d-md-table-cell">
9292
<?php echo HTMLHelper::_('searchtools.sort', 'COM_CSP_HEADING_CREATED', 'a.created', $listDirn, $listOrder); ?>
9393
</th>
9494
<th scope="col" class="d-none d-md-table-cell">
@@ -106,7 +106,7 @@
106106
<td class="text-center">
107107
<?php echo HTMLHelper::_('jgrid.published', $item->published, $i, 'reports.', $canChange, 'cb'); ?>
108108
</td>
109-
<th scope="row" class="small d-none d-md-table-cell text-break">
109+
<th scope="row" class="small d-md-table-cell text-break">
110110
<?php echo $item->document_uri; ?>
111111
</th>
112112
<td class="small d-none d-md-table-cell">

0 commit comments

Comments
 (0)