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/Live/templates/_actionGoal.twig')
-rw-r--r--plugins/Live/templates/_actionGoal.twig11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Live/templates/_actionGoal.twig b/plugins/Live/templates/_actionGoal.twig
new file mode 100644
index 0000000000..dadfc566e8
--- /dev/null
+++ b/plugins/Live/templates/_actionGoal.twig
@@ -0,0 +1,11 @@
+<li class="action"
+ title="{{ postEvent('Live.renderActionTooltip', action, visitInfo) }}">
+ <div>
+ {# Goal conversion #}
+ <img src="{{ action.icon }}" class="action-list-action-icon" />
+ <strong>{{ action.goalName }}</strong>
+ {% if action.revenue > 0 %}, {{ 'General_ColumnRevenue'|translate }}:
+ <strong>{{ action.revenue|money(visitInfo.idSite)|raw }}</strong>
+ {% endif %}
+ </div>
+</li> \ No newline at end of file