diff options
Diffstat (limited to 'plugins/Goals/templates/overview.tpl')
-rw-r--r-- | plugins/Goals/templates/overview.tpl | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/plugins/Goals/templates/overview.tpl b/plugins/Goals/templates/overview.tpl index f08633c487..1e342840dc 100644 --- a/plugins/Goals/templates/overview.tpl +++ b/plugins/Goals/templates/overview.tpl @@ -1,32 +1,23 @@ -<link rel="stylesheet" type="text/css" href="plugins/Goals/templates/goals.css" /> {include file="Goals/templates/title_and_evolution_graph.tpl"} {foreach from=$goalMetrics item=goal} - {assign var=nb_conversions value=$goal.nb_conversions} - {assign var=conversion_rate value=$goal.conversion_rate} - {assign var=name value=$goal.name} - - <h2 style="padding-top: 30px;"> - {if $displayFullReport}<a href="javascript:broadcast.propagateAjax('module=Goals&action=goalReport&idGoal={$goal.id}')">{/if} - {'Goals_GoalX'|translate:"'$name'"} - {if $displayFullReport}</a>{/if} - </h2> - <div id='leftcolumn'> - <div class="sparkline">{sparkline src=$goal.urlSparklineConversions} - {'Goals_Conversions'|translate:"<strong>$nb_conversions</strong>"}</div> - </div> - <div id='rightcolumn'> - <div class="sparkline">{sparkline src=$goal.urlSparklineConversionRate} - {'Goals_ConversionRate'|translate:"<strong>$conversion_rate%</strong>"}</div> - </div> +{assign var=nb_conversions value=$goal.nb_conversions} +{assign var=conversion_rate value=$goal.conversion_rate} +<h2 style="padding-top: 30px;">{$goal.name} (goal)</h2> +<div id='leftcolumn'> + <div class="sparkline">{sparkline src=$goal.urlSparklineConversions} + {'%s conversions'|translate:"<strong>$nb_conversions</strong>"}</div> +</div> +<div id='rightcolumn'> + <div class="sparkline">{sparkline src=$goal.urlSparklineConversionRate} + {'%s conversion rate'|translate:"<strong>$conversion_rate%</strong>"}</div> + {* (<a href=''>more</a>) *} +</div> {/foreach} -{if $displayFullReport} +{if $userCanEditGoals} + {include file=Goals/templates/add_edit_goal.tpl} +{/if} - {include file="Goals/templates/table_by_segment.tpl"} - - {if $userCanEditGoals} - {include file=Goals/templates/add_edit_goal.tpl} - {/if} -{/if}
\ No newline at end of file +{include file="Goals/templates/release_notes.tpl} |