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:
authormattab <matthieu.aubry@gmail.com>2015-03-02 05:07:49 +0300
committermattab <matthieu.aubry@gmail.com>2015-03-02 05:49:42 +0300
commit8dd51311c5e8c653450fdd20a69d4af6d7b6a55b (patch)
tree52a60ea290720a9a2bdd150b90f624819b492cbf /plugins
parent4ec65a7c3d45cc16f7e7d06c0039acfb0b46d90a (diff)
show the Update check button on demo.piwik.org as well
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/templates/_headerMessage.twig6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CoreHome/templates/_headerMessage.twig b/plugins/CoreHome/templates/_headerMessage.twig
index d3ae43a271..4479e7fced 100644
--- a/plugins/CoreHome/templates/_headerMessage.twig
+++ b/plugins/CoreHome/templates/_headerMessage.twig
@@ -32,12 +32,12 @@
{% endif %}
{% if latest_version_available and isSuperUser %}
{{ 'General_PiwikXIsAvailablePleaseUpdateNow'|translate(latest_version_available,"<br /><a href='index.php?module=CoreUpdater&amp;action=newVersionAvailable'>","</a>","<a href='?module=Proxy&amp;action=redirect&amp;url=http://piwik.org/changelog/' rel='noreferrer' target='_blank'>","</a>")|raw }}
- <br/>
- {{ 'General_YouAreCurrentlyUsing'|translate(piwik_version) }}
{% elseif latest_version_available and not isPiwikDemo and hasSomeViewAccess and not isUserIsAnonymous %}
{% set updateSubject = 'General_NewUpdatePiwikX'|translate(latest_version_available)|e('url') %}
{{ 'General_PiwikXIsAvailablePleaseNotifyPiwikAdmin'|translate("<a href='?module=Proxy&action=redirect&url=http://piwik.org/' target='_blank'>Piwik</a> <a href='?module=Proxy&action=redirect&url=http://piwik.org/changelog/' target='_blank'>" ~ latest_version_available ~ "</a>", "<a href='mailto:" ~ superUserEmails ~ "?subject=" ~ updateSubject ~ "'>", "</a>")|raw }}
- {% elseif isSuperUser and adminMenu is defined and adminMenu %}
+ {% endif %}
+ {% if isSuperUser and adminMenu is defined and adminMenu %}
+ <br />
{{ updateCheck|raw }}
<br />
{{ 'General_YouAreCurrentlyUsing'|translate(piwik_version) }}