diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-10-04 22:48:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 22:48:12 +0300 |
commit | fc0f1e73937f26438f3953a646f15bc788d7aedf (patch) | |
tree | bf4e6046bfaa2b1cda2731388de92bdcb474f999 /plugins/CoreHome/templates | |
parent | 6ec19d16c4fd4a36649420b9efa12f3e469eaba6 (diff) |
Make it possible to show a header message for datatables (#12146)
* Make it possible to show a header message for datatables
* update changelog
* add comment that messages will be printed raw
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r-- | plugins/CoreHome/templates/_dataTable.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/templates/_dataTable.twig b/plugins/CoreHome/templates/_dataTable.twig index b5635d9921..cdd5905933 100644 --- a/plugins/CoreHome/templates/_dataTable.twig +++ b/plugins/CoreHome/templates/_dataTable.twig @@ -49,6 +49,10 @@ {% if error is defined %} {{ error.message }} {% else %} + {% if properties.show_header_message is defined and properties.show_header_message is not empty %} + <div class='datatableHeaderMessage'>{{ properties.show_header_message | raw }}</div> + {% endif %} + {% if isDataTableEmpty %} <div class="pk-emptyDataTable"> {% if showReportDataWasPurgedMessage is defined and showReportDataWasPurgedMessage %} |