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:
authorZoltan Flamis <zoltan@hey.com>2021-03-14 23:25:11 +0300
committerGitHub <noreply@github.com>2021-03-14 23:25:11 +0300
commit8a8cb6305ef2d92413580ff5cae402d17921f81c (patch)
tree57c2ecd8058cf79a622e2f6320ffd7475ffbe613 /plugins/CoreVisualizations
parenta7d34dad866179269d1cfffdf89e9197d05a3eb9 (diff)
modify hover text (#17264)
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r--plugins/CoreVisualizations/templates/_dataTableViz_htmlTable_ratio.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVisualizations/templates/_dataTableViz_htmlTable_ratio.twig b/plugins/CoreVisualizations/templates/_dataTableViz_htmlTable_ratio.twig
index a478c23bf8..5bae880ad7 100644
--- a/plugins/CoreVisualizations/templates/_dataTableViz_htmlTable_ratio.twig
+++ b/plugins/CoreVisualizations/templates/_dataTableViz_htmlTable_ratio.twig
@@ -30,7 +30,7 @@
{% endif %}
{% if totalPercentage|default is not empty %}
- {% set totalRatioTooltip = 'General_TotalRatioTooltip'|translate(totalPercentage, siteTotal|number(2,0), metricTitle, periodTitlePretty) %}
+ {% set totalRatioTooltip = 'General_TotalRatioTooltip'|translate(totalPercentage, siteTotal|number(2,0), column == 'nb_visits' ? 'General_ColumnNbVisits'|translate : metricTitle, periodTitlePretty) %}
{% else %}
{% set totalRatioTooltip = '' %}
{% endif %}