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/Marketplace/templates/plugin-list.twig')
-rw-r--r--plugins/Marketplace/templates/plugin-list.twig7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/Marketplace/templates/plugin-list.twig b/plugins/Marketplace/templates/plugin-list.twig
index d071fad3d8..ca1ae90334 100644
--- a/plugins/Marketplace/templates/plugin-list.twig
+++ b/plugins/Marketplace/templates/plugin-list.twig
@@ -31,7 +31,12 @@
{% endif %}
{% if plugin.canBeUpdated %}
- <a class="update-available" href="#" piwik-plugin-name="{{ plugin.name }}" data-activePluginTab="changelog"
+ <a class="update-available"
+ {% if plugin.changelog is defined and plugin.changelog and plugin.changelog.url is defined and plugin.changelog.url %}
+ target="_blank" href="{{ plugin.changelog.url|e('html_attr') }}"
+ {% else %}
+ href="#" piwik-plugin-name="{{ plugin.name }}"
+ {% endif %}
title="{{ 'Marketplace_PluginUpdateAvailable'|translate(plugin.currentVersion, plugin.latestVersion) }}">
{{ 'Marketplace_NewVersion'|translate }}</a>
{% endif %}