diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-18 03:26:46 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-18 03:26:46 +0400 |
commit | dde9833f409263ab6651acf81eec28c02f7b4812 (patch) | |
tree | 94d793870bf0f21261e346759cb7784cb673efac /plugins/Zeitgeist | |
parent | 5aa9eef454d97f8450aa0966755b8494e4ec064b (diff) |
Fixes #4143 In admin UI, display a message explaining that the plugins could not be loaded because they are not compatible with Piwik 2
Diffstat (limited to 'plugins/Zeitgeist')
-rw-r--r-- | plugins/Zeitgeist/templates/admin.twig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Zeitgeist/templates/admin.twig b/plugins/Zeitgeist/templates/admin.twig index 515c10e6a3..9994b4ce7a 100644 --- a/plugins/Zeitgeist/templates/admin.twig +++ b/plugins/Zeitgeist/templates/admin.twig @@ -61,9 +61,9 @@ {% include "@CoreHome/_warningInvalidHost.twig" %} {# missing plugins warning #} - {% if isSuperUser and missingPluginsWarning is defined %} + {% if isSuperUser and invalidPluginsWarning is defined %} <div class="ajaxSuccess"> - <strong>{{ 'General_Warning'|translate }}: </strong>{{ missingPluginsWarning }} + <strong>{{ 'General_Warning'|translate }}: </strong>{{ invalidPluginsWarning|raw }} </div> {% endif %} @@ -71,7 +71,7 @@ {% if isSuperUser and usingOldGeoIPPlugin is not empty %} <div class="ajaxSuccess"> <strong>{{ 'General_Warning'|translate }} - : </strong>{{ 'UserCountry_OldGeoIPWarning'|translate('<a href="index.php?module=CorePluginsAdmin&action=index&idSite=1&period=day&date=yesterday">','</a>','<a href="index.php?module=UserCountry&action=adminIndex&idSite=1&period=day&date=yesterday#location-providers">','</a>','<a href="http://piwik.org/faq/how-to/#faq_167">','</a>','<a href="http://piwik.org/faq/how-to/#faq_59">','</a>')|raw }} + : </strong>{{ 'UserCountry_OldGeoIPWarning'|translate('<a href="index.php?module=CorePluginsAdmin&action=plugins&idSite=1&period=day&date=yesterday">','</a>','<a href="index.php?module=UserCountry&action=adminIndex&idSite=1&period=day&date=yesterday#location-providers">','</a>','<a href="http://piwik.org/faq/how-to/#faq_167">','</a>','<a href="http://piwik.org/faq/how-to/#faq_59">','</a>')|raw }} </div> {% endif %} |