diff options
Diffstat (limited to 'plugins/CoreHome/templates/datatable.tpl')
-rw-r--r-- | plugins/CoreHome/templates/datatable.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/datatable.tpl b/plugins/CoreHome/templates/datatable.tpl index 56c508a151..7cbdc6f2cc 100644 --- a/plugins/CoreHome/templates/datatable.tpl +++ b/plugins/CoreHome/templates/datatable.tpl @@ -4,14 +4,14 @@ {$arrayDataTable.message} {else} {if count($arrayDataTable) == 0} - <div class="pk-emptyDataTable">{'CoreHome_TableNoData'|translate}</div> + <div id="emptyDatatable">{'CoreHome_TableNoData'|translate}</div> {else} <a name="{$properties.uniqueId}"></a> <table cellspacing="0" class="dataTable"> <thead> <tr> - {foreach from=$dataTableColumns item=column name=head} - <th class="sortable {if $smarty.foreach.head.first}first{elseif $smarty.foreach.head.last}last{/if}" id="{$column}"><div id="thDIV">{$columnTranslations[$column]}</div></th> + {foreach from=$dataTableColumns item=column} + <th class="sortable" id="{$column}"><div id="thDIV">{$columnTranslations[$column]}</div></th> {/foreach} </tr> </thead> @@ -21,7 +21,7 @@ <tr {if $row.idsubdatatable && $javascriptVariablesToSet.controllerActionCalledWhenRequestSubTable != null}class="subDataTable" id="{$row.idsubdatatable}"{/if}> {foreach from=$dataTableColumns item=column} <td> -{if !$row.idsubdatatable && $column=='label' && !empty($row.metadata.url)}<span class="urlLink">{$row.metadata.url}</span>{/if} +{if !$row.idsubdatatable && $column=='label' && isset($row.metadata.url)}<span id="urlLink">{$row.metadata.url}</span>{/if} {if $column=='label'}{logoHtml metadata=$row.metadata alt=$row.columns.label}{/if} {if isset($row.columns[$column])}{$row.columns[$column]}{else}{$defaultWhenColumnValueNotDefined}{/if} </td> |