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:
authorThomas Steur <tsteur@users.noreply.github.com>2016-10-01 01:47:24 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-10-01 01:47:24 +0300
commit40f535174a305aa19d37e6367dca2bfc8eb1c4c8 (patch)
tree49f733d10c024b12eae06f0cbbe45382604a13a1 /plugins/CoreVisualizations/templates
parent24fbaf5c76d48016f5298c7a825ed8a12ba0c500 (diff)
Make goal title in report clickable (#10571)
* fixes #10554 make goal title clickable * explain why we overwrite a report headline * link to goal detail page
Diffstat (limited to 'plugins/CoreVisualizations/templates')
-rw-r--r--plugins/CoreVisualizations/templates/_dataTableViz_sparklines.twig5
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">