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:
authorThomas Steur <tsteur@users.noreply.github.com>2019-09-13 08:39:23 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-09-13 08:39:23 +0300
commit703ed9402e4aada544ec94e789021df86575ad15 (patch)
treed77f915e831f8c40f441f953adcf916e799fc903 /plugins/CoreHome/templates
parenta1dbbfb7eae94378312b18a5cee2cfb0de6f637a (diff)
Update shown logo in the app (#14860)
* start changing the logo * update logo * improve position of logo * position link instead of logo * seems margin is not allowed, try using padding * fix some tests
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r--plugins/CoreHome/templates/_htmlEmailHeader.twig4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/_htmlEmailHeader.twig b/plugins/CoreHome/templates/_htmlEmailHeader.twig
index b992ee0dea..330f76d1b4 100644
--- a/plugins/CoreHome/templates/_htmlEmailHeader.twig
+++ b/plugins/CoreHome/templates/_htmlEmailHeader.twig
@@ -13,11 +13,11 @@
<table style="width:100%; background-color: {{ themeStyles.colorHeaderBackground|e('html_attr') }}; color: {{ themeStyles.colorHeaderText|e('html_attr') }}; padding:10px 0; margin: 0 0 25px 0; height:64px;">
<tr>
<td>
- <a style="{{ fontStyle|raw }}; font-size:16px;padding:0 15px;color: {{ themeStyles.colorHeaderText|e('html_attr') }};height: 22px;display: inline-block;vertical-align: inherit;" rel="noreferrer noopener" target="_blank" href="{{ piwikUrl }}">
+ <a style="{{ fontStyle|raw }}; font-size:16px;padding:0 15px;{% if not isCustomLogo or not logoHeader %}padding-bottom: 8px;{% endif %}color: {{ themeStyles.colorHeaderText|e('html_attr') }};height: 22px;display: inline-block;vertical-align: inherit;" rel="noreferrer noopener" target="_blank" href="{{ piwikUrl }}">
{% if isCustomLogo and logoHeader %}
<img src="{{ logoHeader }}" height="20px" width="auto" />
{% else %}
- <img src="{{ piwikUrl }}/plugins/Morpheus/images/logo-email.png" height="20px" width="auto" alt="{{ emailStyles.brandNameLong|e('html_attr') }}" />
+ <img src="{{ piwikUrl }}/plugins/Morpheus/images/logo-email.png" height="30px" width="auto" alt="{{ emailStyles.brandNameLong|e('html_attr') }}" />
{% endif %}
</a>
</td>