diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-04-23 02:27:27 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-04-23 02:28:59 +0300 |
commit | d8931227e2744b7d04494117d8d6d860cdf7e330 (patch) | |
tree | 8fbf110ec87b4f68439ef392a954c77fb9a66a36 /plugins/Goals/templates | |
parent | 91c8df8552ff8dbfd2d6dc7b40c6412a2a6d7d08 (diff) |
Fixes #7738 Widgets containing sparklines should list the sparklines one per line
Diffstat (limited to 'plugins/Goals/templates')
-rw-r--r-- | plugins/Goals/templates/getOverviewView.twig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Goals/templates/getOverviewView.twig b/plugins/Goals/templates/getOverviewView.twig index 798c8fc285..1c6098c5ee 100644 --- a/plugins/Goals/templates/getOverviewView.twig +++ b/plugins/Goals/templates/getOverviewView.twig @@ -15,21 +15,32 @@ </a> </h2> + {% if not isWidget %} <div class="row"> <div class="col-md-6"> + {% endif %} + <div class="sparkline">{{ sparkline(goal.urlSparklineConversions) }} {{ 'Goals_Conversions'|translate("<strong>"~nb_conversions~"</strong>")|raw }} {% if goal.goalAllowMultipleConversionsPerVisit %} ({{ 'General_NVisits'|translate("<strong>"~nb_visits_converted~"</strong>") | raw }}) {% endif %} </div> + + {% if not isWidget %} </div> <div class="col-md-6"> + {% endif %} + <div class="sparkline">{{ sparkline(goal.urlSparklineConversionRate) }} {{ 'Goals_ConversionRate'|translate("<strong>"~conversion_rate~"</strong>")|raw }} </div> + + {% if not isWidget %} </div> </div> + {% endif %} + </div> {% endfor %} |