diff options
author | Zoltan Flamis <zoltan@hey.com> | 2021-03-14 23:25:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 23:25:11 +0300 |
commit | 8a8cb6305ef2d92413580ff5cae402d17921f81c (patch) | |
tree | 57c2ecd8058cf79a622e2f6320ffd7475ffbe613 /plugins/CoreVisualizations | |
parent | a7d34dad866179269d1cfffdf89e9197d05a3eb9 (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.twig | 2 |
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 %} |