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

overview.tpl « templates « Goals « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f08633c48763ad12c4128766ee878b466d4a60bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<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>
{/foreach}

{if $displayFullReport}

	{include file="Goals/templates/table_by_segment.tpl"}
	
	{if $userCanEditGoals}
		{include file=Goals/templates/add_edit_goal.tpl}
	{/if}
{/if}