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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-12-12 13:54:03 +0300
committerGitHub <noreply@github.com>2016-12-12 13:54:03 +0300
commit53454e8efd0ab2a03dd9bb9f837aa63f36cfe552 (patch)
treebe7dc483dad0dcac6577b73e9e82ede7bc097682 /plugins/CorePluginsAdmin/templates/macros.twig
parentb1c09fa5123155ab9cd79342a4a0cef42e80de7f (diff)
parent67f2661f24602a07ebee66172f8446887ab83787 (diff)
Merge pull request #10994 from piwik/3.x-dev3.0.0-rc2
3.0.0-rc2 release
Diffstat (limited to 'plugins/CorePluginsAdmin/templates/macros.twig')
-rw-r--r--plugins/CorePluginsAdmin/templates/macros.twig6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CorePluginsAdmin/templates/macros.twig b/plugins/CorePluginsAdmin/templates/macros.twig
index 78be51f24e..81b0263220 100644
--- a/plugins/CorePluginsAdmin/templates/macros.twig
+++ b/plugins/CorePluginsAdmin/templates/macros.twig
@@ -21,8 +21,10 @@
</a>
</td>
<td class="vers">
- {% if plugin.repositoryChangelogUrl %}
- <a href="javascript:void(0);" title="{{ 'CorePluginsAdmin_Changelog'|translate }}" data-activePluginTab="changelog" piwik-plugin-name="{{ plugin.name|e('html_attr') }}">{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a>
+ {% if plugin.changelog is defined and plugin.changelog and plugin.changelog.url is defined and plugin.changelog.url %}
+ <a href="{{ plugin.changelog.url|e('html_attr') }}" title="{{ 'CorePluginsAdmin_Changelog'|translate }}"
+ target="_blank" rel="noreferrer"
+ >{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a>
{% else %}
{{ plugin.currentVersion }} => {{ plugin.latestVersion }}
{% endif %}