diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-01 11:27:19 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-01 11:27:19 +0400 |
commit | 92da6b8181282800f4f28cae77d776b67540b477 (patch) | |
tree | a6e07ae46cbfa0b7a969392d00107b74c9f807e4 /plugins/CoreHome/templates/datatable.tpl | |
parent | 9722d2680762026150bcbc3c96265bbc09802006 (diff) |
- Introducing the new "ExampleUI" plugin which shows how to plot data easily in Piwik, reusing the existing framework (evolution graph, pie chart, bar graph, sparklines, tag clouds, tables, and more!)
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 a3cc8876f9..7cbdc6f2cc 100644 --- a/plugins/CoreHome/templates/datatable.tpl +++ b/plugins/CoreHome/templates/datatable.tpl @@ -11,7 +11,7 @@ <thead> <tr> {foreach from=$dataTableColumns item=column} - <th class="sortable" id="{$column.name}"><div id="thDIV">{$column.displayName}</div></th> + <th class="sortable" id="{$column}"><div id="thDIV">{$columnTranslations[$column]}</div></th> {/foreach} </tr> </thead> @@ -21,9 +21,9 @@ <tr {if $row.idsubdatatable && $javascriptVariablesToSet.controllerActionCalledWhenRequestSubTable != null}class="subDataTable" id="{$row.idsubdatatable}"{/if}> {foreach from=$dataTableColumns item=column} <td> -{if !$row.idsubdatatable && $column.name=='label' && isset($row.metadata.url)}<span id="urlLink">{$row.metadata.url}</span>{/if} -{if $column.name=='label'}{logoHtml metadata=$row.metadata alt=$row.columns.label}{/if} -{if isset($row.columns[$column.name])}{$row.columns[$column.name]}{else}{$defaultWhenColumnValueNotDefined}{/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> {/foreach} </tr> |