diff options
Diffstat (limited to 'plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig')
-rw-r--r-- | plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig b/plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig index 4ed2dbc655..cf4c655fce 100644 --- a/plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig +++ b/plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig @@ -3,8 +3,9 @@ {% if not isWidget %} <div class="card"><div class="card-content"> {% endif %} - {% if title is not empty %}<h2 class="card-title">{{ title }}</h2>{% endif %} - + {% if title is not empty %}<h2 class="card-title" + {% if titleAttributes is not empty %}{% for attribute, value in titleAttributes %}{{ attribute }}="{{ value }}"{% endfor %}{% endif %} + >{{ title }}</h2>{% endif %} {% if not isWidget %} <div class="row"> <div class="col m6"> |