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:
Diffstat (limited to 'plugins/CoreAdminHome/templates/whatIsNew.twig')
-rw-r--r--plugins/CoreAdminHome/templates/whatIsNew.twig28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/CoreAdminHome/templates/whatIsNew.twig b/plugins/CoreAdminHome/templates/whatIsNew.twig
new file mode 100644
index 0000000000..1de720cc5e
--- /dev/null
+++ b/plugins/CoreAdminHome/templates/whatIsNew.twig
@@ -0,0 +1,28 @@
+<div piwik-content-intro>
+ <h2>{{ 'CoreAdminHome_WhatIsNewTitle'|translate|e('html_attr') }}</h2>
+</div>
+<div class="whatisnew">
+
+ {% for change in changes %}
+
+ <div class="card">
+ <div class="card-content">
+ <span style="float: left; font-size:32px; color:#3450A3; margin-right:10px" class="icon-new_releases"></span>
+ {% if change.plugin_name == "CoreHome" %}
+ <h2 class="card-title">{{ change.title }}</h2>
+ {% else %}
+ <h2 class="card-title">{{ change.plugin_name }} - {{ change.title }}</h2>
+ {% endif %}
+ {{ change.description | raw }}
+ {% if not change.link is empty and not change.link_name is empty %}
+ <p>
+ <br>
+ <a class="change-link" href="{{ change.link|e('html_attr') }}" target="_blank" rel="noopener">{{ change.link_name }}</a>
+ </p>
+ {% endif %}
+ </div>
+ </div>
+
+ {% endfor %}
+
+</div>