diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-08-17 13:27:17 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-08-17 13:27:17 +0300 |
commit | 4ba679f716d18900c82a3cd1a0d303d72e59b9ff (patch) | |
tree | 1e6aba6e5b339593ae8645b78c65226ba095a3d4 /plugins/CoreUpdater | |
parent | a7216adb43c8242b64863cb072d861f21ddcfb54 (diff) |
Unify logo usage (#13298)
Diffstat (limited to 'plugins/CoreUpdater')
-rw-r--r-- | plugins/CoreUpdater/stylesheets/updateLayout.css | 8 | ||||
-rw-r--r-- | plugins/CoreUpdater/templates/layout.twig | 12 |
2 files changed, 9 insertions, 11 deletions
diff --git a/plugins/CoreUpdater/stylesheets/updateLayout.css b/plugins/CoreUpdater/stylesheets/updateLayout.css index 18a6bd519b..040ab3f290 100644 --- a/plugins/CoreUpdater/stylesheets/updateLayout.css +++ b/plugins/CoreUpdater/stylesheets/updateLayout.css @@ -42,4 +42,12 @@ p strong { } strong { font-weight: 700 !important; +} + +#logo { + display: block; +} + +#logo img { + height: 40px; }
\ No newline at end of file diff --git a/plugins/CoreUpdater/templates/layout.twig b/plugins/CoreUpdater/templates/layout.twig index 9322acf373..90968c17d5 100644 --- a/plugins/CoreUpdater/templates/layout.twig +++ b/plugins/CoreUpdater/templates/layout.twig @@ -17,17 +17,7 @@ </head> <body id="simple" ng-app="app"> - -<div class="logo"> - {% if hasSVGLogo %} - <img src='{{ logoSVG }}' tabindex="3" - style="height: 40px;" - alt="{% if isCustomLogo %}{{ 'General_PoweredBy'|translate }} {% endif %}Matomo" - class="{% if not isCustomLogo %}default-piwik-logo{% endif %}" /> - {% else %} - <img src='{{ logoHeader }}' alt="{% if isCustomLogo %}{{ 'General_PoweredBy'|translate }} {% endif %}Matomo" /> - {% endif %} -</div> +{% include "@CoreHome/_logo.twig" with { 'logoLink': false } %} <div class="box"> {% block content %} |