diff options
-rw-r--r-- | plugins/CoreHome/templates/_headerMessage.twig | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/_headerMessage.twig b/plugins/CoreHome/templates/_headerMessage.twig index 46ecd55c18..8de5bed016 100644 --- a/plugins/CoreHome/templates/_headerMessage.twig +++ b/plugins/CoreHome/templates/_headerMessage.twig @@ -17,10 +17,17 @@ > {% if latest_version_available and not isPiwikDemo %} - <a class="title" href="?module=CoreUpdater&action=newVersionAvailable" style="cursor:pointer;"> - {{ 'General_NewUpdatePiwikX'|translate(latest_version_available) }} - <span class="icon-warning"></span> - </a> + {% if isMultiServerEnvironment %} + <span class="title" style="cursor:pointer;"> + {{ 'General_NewUpdatePiwikX'|translate(latest_version_available) }} + <span class="icon-warning"></span> + </span> + {% else %} + <a class="title" href="?module=CoreUpdater&action=newVersionAvailable" style="cursor:pointer;"> + {{ 'General_NewUpdatePiwikX'|translate(latest_version_available) }} + <span class="icon-warning"></span> + </a> + {% endif %} {% elseif isSuperUser and isAdminArea is defined and isAdminArea %} {% if isInternetEnabled %} <a class="title">{{ updateCheck|raw }}</a> |