diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2017-10-13 01:09:24 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2017-11-12 14:20:32 +0300 |
commit | f7270d977447a63f041ae04ac34f74752703da0b (patch) | |
tree | f09ae1a21b767b615dde41d2d6ea3f3811ac66f5 /plugins/CoreHome/templates | |
parent | 8bdd21dc5e9e81bc92baac55a8e1deaff7d26cd1 (diff) |
Do not show header_message on piwik.org at all in reporting
Otherwise the topbar will be always hidden as there is no text for it. Only affects demo.piwik.org
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r-- | plugins/CoreHome/templates/_headerMessage.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/_headerMessage.twig b/plugins/CoreHome/templates/_headerMessage.twig index 1a47c5399b..d8ba304354 100644 --- a/plugins/CoreHome/templates/_headerMessage.twig +++ b/plugins/CoreHome/templates/_headerMessage.twig @@ -10,7 +10,7 @@ </span> {% endset %} -{% if (latest_version_available and hasSomeViewAccess and not isUserIsAnonymous) or (isSuperUser and isAdminArea is defined and isAdminArea) %} +{% if (latest_version_available and not isPiwikDemo and hasSomeViewAccess and not isUserIsAnonymous) 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 %}" |