diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-27 17:23:43 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-27 17:23:43 +0300 |
commit | 4e219e09d00212e34681d52bbdbfb74f18597b88 (patch) | |
tree | 742782c809e0f1b143ffa0809edd68303629c62f /plugins/CoreHome/templates/datatable.tpl | |
parent | 15821862cb5fb9c7c6021d7e3a2598a3d509a086 (diff) |
- summary row label should not be -1 in actions now
- all columns should not be "low population excluded" by default now. can switch to exclude low population when viewing all columns table
- i18n on new icon
- i18n on Actions table column labels
- fixed truncation which should hopefully fix most of display issues when viewing all columns
- subtables have more space efficient padding now
Diffstat (limited to 'plugins/CoreHome/templates/datatable.tpl')
-rw-r--r-- | plugins/CoreHome/templates/datatable.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/datatable.tpl b/plugins/CoreHome/templates/datatable.tpl index 2dbdc602de..49e233f82e 100644 --- a/plugins/CoreHome/templates/datatable.tpl +++ b/plugins/CoreHome/templates/datatable.tpl @@ -1,5 +1,5 @@ <div id="{$id}">
- <div class="{if $javascriptVariablesToSet.viewDataTable=='tableAllColumns'}dataTableAllColumnsWrapper{else}dataTableWrapper{/if}">
+ <div class="{if isset($javascriptVariablesToSet.idSubtable)&& $javascriptVariablesToSet.idSubtable!=0}sub{/if}{if $javascriptVariablesToSet.viewDataTable=='tableAllColumns'}dataTableAllColumnsWrapper{else}dataTableWrapper{/if}">
{if isset($arrayDataTable.result) and $arrayDataTable.result == 'error'}
{$arrayDataTable.message}
{else}
@@ -21,7 +21,7 @@ <tr {if $row.idsubdatatable}class="subDataTable" id="{$row.idsubdatatable}"{/if}>
{foreach from=$dataTableColumns item=column}
<td>
-{if $column.name=='label' && isset($row.metadata.url)}<span id="urlLink">{$row.metadata.url}</span>{/if}
+{if !$row.idsubdatatable && $column.name=='label' && isset($row.metadata.url)}<span id="urlLink">{$row.metadata.url}</span>{/if}
{if $column.name=='label' && isset($row.metadata.logo)}<img {if isset($row.metadata.logoWidth)}width="{$row.metadata.logoWidth}"{/if} {if isset($row.metadata.logoHeight)}height="{$row.metadata.logoHeight}"{/if} src="{$row.metadata.logo}" />{/if}
{* sometimes all columns are not set in the datatable, we assume the value 0 *}
{if isset($row.columns[$column.name])}{$row.columns[$column.name]}{else}0{/if}
|