From b66635e4e16f5af26171211b6196f1dff319e1c5 Mon Sep 17 00:00:00 2001 From: Zoltan Flamis Date: Thu, 22 Apr 2021 09:23:22 +1200 Subject: show period label on evo graph (#17456) * v1 * v2 * use css classes * update period name when selected * fix ui tests * use translation for period name Co-authored-by: sgiehl --- plugins/CoreHome/templates/_dataTableActions.twig | 37 ++++++++++++----------- 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'plugins/CoreHome/templates') diff --git a/plugins/CoreHome/templates/_dataTableActions.twig b/plugins/CoreHome/templates/_dataTableActions.twig index c1f52456b9..39eec1cae5 100644 --- a/plugins/CoreHome/templates/_dataTableActions.twig +++ b/plugins/CoreHome/templates/_dataTableActions.twig @@ -33,24 +33,6 @@ {% endset %} - {% if properties.show_periods %} - - - - - {% endif %} - {% if activeFooterIcon and numIcons > 1 %} {% endif %} + + {% if properties.show_periods %} + +
{{ properties.translations[clientSideParameters.period]|default(clientSideParameters.period) }}
+
+ + {% endif %} {% endif %} -- cgit v1.2.3