Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Goals/templates/list_top_dimension.tpl')
-rw-r--r--plugins/Goals/templates/list_top_dimension.tpl11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/Goals/templates/list_top_dimension.tpl b/plugins/Goals/templates/list_top_dimension.tpl
index 50e86d9b4d..4bbe28adc9 100644
--- a/plugins/Goals/templates/list_top_dimension.tpl
+++ b/plugins/Goals/templates/list_top_dimension.tpl
@@ -1,10 +1,9 @@
-
{foreach from=$topDimension item=element name=topGoalElements}
- {assign var=goal_nb_conversion value=$element.nb_conversions}
- {assign var=goal_conversion_rate value=$element.conversion_rate}
- <span class='goalTopElement' title='{'Goals_Conversions'|translate:"<b>$goal_nb_conversion</b>"},
+ {assign var=goal_nb_conversion value=$element.nb_conversions}
+ {assign var=goal_conversion_rate value=$element.conversion_rate}
+ <span class='goalTopElement' title='{'Goals_Conversions'|translate:"<b>$goal_nb_conversion</b>"},
{'Goals_ConversionRate'|translate:"<b>$goal_conversion_rate</b>"}'>
{$element.name}</span>
- {logoHtml metadata=$element.metadata alt=$element.name}
- {if $smarty.foreach.topGoalElements.iteration == $smarty.foreach.topGoalElements.total-1} and {elseif $smarty.foreach.topGoalElements.iteration < $smarty.foreach.topGoalElements.total-1}, {else}{/if}
+ {logoHtml metadata=$element.metadata alt=$element.name}
+ {if $smarty.foreach.topGoalElements.iteration == $smarty.foreach.topGoalElements.total-1} and {elseif $smarty.foreach.topGoalElements.iteration < $smarty.foreach.topGoalElements.total-1}, {else}{/if}
{/foreach} \ No newline at end of file