diff options
Diffstat (limited to 'plugins/CoreHome/templates/datatable_actions_recursive.tpl')
-rw-r--r-- | plugins/CoreHome/templates/datatable_actions_recursive.tpl | 71 |
1 files changed, 36 insertions, 35 deletions
diff --git a/plugins/CoreHome/templates/datatable_actions_recursive.tpl b/plugins/CoreHome/templates/datatable_actions_recursive.tpl index 00d8b11cd3..eb3d6f4736 100644 --- a/plugins/CoreHome/templates/datatable_actions_recursive.tpl +++ b/plugins/CoreHome/templates/datatable_actions_recursive.tpl @@ -1,38 +1,39 @@ <div id="{$properties.uniqueId}"> - <div class="dataTableActionsWrapper"> - {if isset($arrayDataTable.result) and $arrayDataTable.result == 'error'} - {$arrayDataTable.message} - {else} - {if count($arrayDataTable) == 0} - <div class="pk-emptyDataTable">{'CoreHome_ThereIsNoDataForThisReport'|translate}</div> - {else} - <table cellspacing="0" class="dataTable dataTableActions"> - <thead> - <tr> - {foreach from=$dataTableColumns item=column} - <th class="sortable" id="{$column}">{$columnTranslations[$column]|escape:'html'}</th> - {/foreach} - </tr> - </thead> - - <tbody> - {foreach from=$arrayDataTable item=row} - <tr {if $row.idsubdatatable}class="level{$row.level} rowToProcess subActionsDataTable" id="{$row.idsubdatatable}"{else}class="actionsDataTable rowToProcess level{$row.level}"{/if}> - {foreach from=$dataTableColumns item=column} - <td> - {include file="CoreHome/templates/datatable_cell.tpl"} - </td> - {/foreach} - </tr> - {/foreach} - </tbody> - </table> - {/if} - - {if $properties.show_footer} - {include file="CoreHome/templates/datatable_footer.tpl"} + <div class="dataTableActionsWrapper"> + {if isset($arrayDataTable.result) and $arrayDataTable.result == 'error'} + {$arrayDataTable.message} + {else} + {if count($arrayDataTable) == 0} + <div class="pk-emptyDataTable">{'CoreHome_ThereIsNoDataForThisReport'|translate}</div> + {else} + <table cellspacing="0" class="dataTable dataTableActions"> + <thead> + <tr> + {foreach from=$dataTableColumns item=column} + <th class="sortable" id="{$column}">{$columnTranslations[$column]|escape:'html'}</th> + {/foreach} + </tr> + </thead> + + <tbody> + {foreach from=$arrayDataTable item=row} + <tr {if $row.idsubdatatable}class="level{$row.level} rowToProcess subActionsDataTable" id="{$row.idsubdatatable}" + {else}class="actionsDataTable rowToProcess level{$row.level}"{/if}> + {foreach from=$dataTableColumns item=column} + <td> + {include file="CoreHome/templates/datatable_cell.tpl"} + </td> + {/foreach} + </tr> + {/foreach} + </tbody> + </table> + {/if} + + {if $properties.show_footer} + {include file="CoreHome/templates/datatable_footer.tpl"} + {/if} + {include file="CoreHome/templates/datatable_actions_js.tpl"} {/if} - {include file="CoreHome/templates/datatable_actions_js.tpl"} - {/if} - </div> + </div> </div> |