33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 19:39:06 +00:00

fix tfoot colspan

This commit is contained in:
andrepereiradasilva 2016-03-29 00:51:37 +01:00
parent 451f76a542
commit 1889b48916

View File

@ -21,6 +21,7 @@ $listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction')); $listDirn = $this->escape($this->state->get('list.direction'));
$filterApplied = $this->escape($this->state->get('filter.applied')); $filterApplied = $this->escape($this->state->get('filter.applied'));
$filterRtc = $this->escape($this->state->get('filter.rtc')); $filterRtc = $this->escape($this->state->get('filter.rtc'));
$colSpan = $this->trackerAlias !== false ? 7 : 6;
?> ?>
<form action="<?php echo \JRoute::_('index.php?option=com_patchtester&view=pulls'); ?>" method="post" name="adminForm" id="adminForm" data-order="<?php echo $listOrder; ?>"> <form action="<?php echo \JRoute::_('index.php?option=com_patchtester&view=pulls'); ?>" method="post" name="adminForm" id="adminForm" data-order="<?php echo $listOrder; ?>">
<div id="j-main-container"> <div id="j-main-container">
@ -105,7 +106,7 @@ $filterRtc = $this->escape($this->state->get('filter.rtc'));
</thead> </thead>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="6"> <td colspan="<?php echo $colSpan; ?>">
</td> </td>
</tr> </tr>
</tfoot> </tfoot>