diff options
Diffstat (limited to 'plugins/Goals/templates/list_top_segment.tpl')
-rw-r--r-- | plugins/Goals/templates/list_top_segment.tpl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/Goals/templates/list_top_segment.tpl b/plugins/Goals/templates/list_top_segment.tpl index 6dbe69813f..4e1ca412d3 100644 --- a/plugins/Goals/templates/list_top_segment.tpl +++ b/plugins/Goals/templates/list_top_segment.tpl @@ -1,5 +1,10 @@ {foreach from=$topSegment item=element name=topGoalElements} -<span class='goalTopElement' title='<b>{$element.nb_conversions}</b> conversions, <b>{$element.conversion_rate}%</b> conversion rate'> -{$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} -{/foreach} {* (<a href=''>more</a>) *} + {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} +{/foreach}
\ No newline at end of file |