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:
authorStefan Giehl <stefan@piwik.org>2016-10-03 22:09:17 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-10-03 22:09:17 +0300
commitfd3463170886a6e01cbae0798b4e7ec0e11cb0a5 (patch)
tree3cf3b453b551c23f77f229262469b526b5c34936 /plugins
parente5731d8f2118018f44e6e3e6d493a9fa4aa89d9a (diff)
Show description as part of the datatable (#10649)
* fixes #10613 - show description as part of the datatable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/templates/_dataTable.twig8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/_dataTable.twig b/plugins/CoreHome/templates/_dataTable.twig
index 2ec3f00fa6..b43337a906 100644
--- a/plugins/CoreHome/templates/_dataTable.twig
+++ b/plugins/CoreHome/templates/_dataTable.twig
@@ -27,10 +27,6 @@
<div class="card-content">
{% endif %}
-{% if properties.description %}
- <div class="card-description">{{ properties.description }}</div>
-{% endif %}
-
{% set summaryRowId = constant('Piwik\\DataTable::ID_SUMMARY_ROW') %}{# ID_SUMMARY_ROW #}
{% set isSubtable = javascriptVariablesToSet.idSubtable is defined and javascriptVariablesToSet.idSubtable != 0 %}
<div class="dataTable {{ visualizationCssClass }} {{ properties.datatable_css_class|default('') }} {% if isSubtable %}subDataTable{% endif %}"
@@ -40,6 +36,10 @@
data-props="{% if clientSideProperties is empty %}{}{% else %}{{ clientSideProperties|json_encode }}{% endif %}"
data-params="{% if clientSideParameters is empty %}{}{% else %}{{ clientSideParameters|json_encode }}{% endif %}">
+ {% if properties.description %}
+ <div class="card-description">{{ properties.description }}</div>
+ {% endif %}
+
<div class="reportDocumentation">
{% if properties.documentation|default is not empty %}<p>{{ properties.documentation|raw }}</p>{% endif %}
{% if reportLastUpdatedMessage is defined and reportLastUpdatedMessage %}<span class='helpDate'>{{ reportLastUpdatedMessage|raw }}</span>{% endif %}