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:
authorPeter Zhang <peter@innocraft.com>2022-07-25 11:50:28 +0300
committerGitHub <noreply@github.com>2022-07-25 11:50:28 +0300
commitf30bf4fa7860b6521a9ffb94b59b11e9b24851dc (patch)
treef4d3639aef6eb2a240b1e480bf28d61e8af430c3 /plugins/CoreHome/templates/_headerMessage.twig
parent797b60687a65040b87d4c9cd459a3163ab13d1d8 (diff)
revert refresh button (#19522)
* revert refresh bottom revert refresh bottom * update screenshots * Update Transitions_transitions_popup_urls.png update ui * add refresh short cut add refresh short cut * Update plugins/CoreHome/javascripts/top_controls.js Co-authored-by: Stefan Giehl <stefan@matomo.org> * update screenshots and add translation update screenshots and add translation * Update plugins/CoreHome/CoreHome.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Revert "Update Transitions_transitions_popup_urls.png" This reverts commit b1420422717ef761180318bea91eab39d3aa4b86. * Update UIIntegrationTest_shortcuts.png update shortcut screenshot and revert Transition screenshots Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'plugins/CoreHome/templates/_headerMessage.twig')
-rw-r--r--plugins/CoreHome/templates/_headerMessage.twig11
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 %}