diff options
author | sgiehl <stefan@matomo.org> | 2022-07-25 12:08:52 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-07-25 14:31:27 +0300 |
commit | a8acf8fe725c283a258a6286144f4f56cdffae19 (patch) | |
tree | f66257e5f5717ba2f5fd06b1732ec252376e5751 /plugins/CoreHome/templates | |
parent | eeb20ec4eb3ad3d0ac5c4ec952852cdde3ffad38 (diff) | |
parent | f30bf4fa7860b6521a9ffb94b59b11e9b24851dc (diff) |
Merge branch 'next_release' into 4.x-dev
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r-- | plugins/CoreHome/templates/_headerMessage.twig | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/CoreHome/templates/_headerMessage.twig b/plugins/CoreHome/templates/_headerMessage.twig index efa5a9de5d..8fb6ec2e9e 100644 --- a/plugins/CoreHome/templates/_headerMessage.twig +++ b/plugins/CoreHome/templates/_headerMessage.twig @@ -10,9 +10,7 @@ </span> {% endset %} -{% set showVersionInfo = (latest_version_available and not isPiwikDemo and hasSomeViewAccess and not isUserIsAnonymous and showUpdateNotificationToUser) or (isSuperUser and isAdminArea is defined and isAdminArea) %} - -{% if showVersionInfo %} +{% if (latest_version_available and not isPiwikDemo and hasSomeViewAccess and not isUserIsAnonymous and showUpdateNotificationToUser) or (isSuperUser and isAdminArea is defined and isAdminArea) %} <div piwik-expand-on-hover id="header_message" class="piwikSelector borderedControl {% if not latest_version_available %}header_info{% else %}{% endif %} piwikTopControl {% if latest_version_available %}update_available{% endif %}" @@ -60,11 +58,8 @@ </div> </div> -{% endif %} - -<span class="icon icon-reload hidden" title="{{ 'CoreHome_Refresh'|translate }}"></span> <span class="icon icon-arrowup"></span> - -{% if showVersionInfo %} <div style="clear:right"></div> +{% else %} +<span class="icon icon-arrowup"></span> {% endif %} |