Skip to content

Commit

Permalink
Update email report templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pdavide committed Jun 25, 2021
1 parent 1387545 commit 5cce8d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion templates/plugins/CoreHome/_htmlEmailFooter.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<hr style=" border: 0; margin-top: 50px; height: 1px; background-image: linear-gradient(to right, rgba(231, 231, 231, 0), rgba(231, 231, 231, 1), rgba(2311, 2311, 231, 0));">

<p style='{{ footerParagraphStyle }}padding-top:30px;margin-bottom:0;'>
<a style="color:#439fe0;" rel="noreferrer" href="https://webanalytics.italia.it/" title="Matomo Analytics">Web Analytics Italia</a>
<a style="color:#439fe0;" rel="noreferrer" href="https://webanalytics.italia.it/" title="Web Analytics Italia">Web Analytics Italia</a>
</p>

</div>
Expand Down
22 changes: 7 additions & 15 deletions templates/plugins/CoreHome/_htmlEmailHeader.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,23 @@
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow">
<meta name="generator" content="Matomo Analytics">
<meta name="generator" content="Web Analytics Italia">
</head>

<body style="{{fontStyle|raw}} line-height: 24px; margin:50px auto; max-width:1000px; background-color:rgb(255, 255, 255);box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.75);">

<a name="reportTop"></a>

<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;">
<table style="width:100%;background-color:#0066cc;padding:10px 0;margin:0 0 25px 0;height:96px;">
<tr>
<td>
<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="30px" width="auto" alt="{{ emailStyles.brandNameLong|e('html_attr') }}" />
{% endif %}
<a style="{{ fontStyle|raw }}; font-size:16px;padding:0 15px;color:{{ themeStyles.colorHeaderText|e('html_attr') }};height:22px;vertical-align:inherit;" rel="noreferrer noopener" target="_blank" href="https://webanalytics.italia.it">
<img src="{{ piwikUrl }}/plugins/WAIMatomoTheme/svg/wai-logo.svg" height="50px" width="auto" style="vertical-align:middle;"
alt="Web Analytics Italia" /><span style="vertical-align:middle;margin-left:20px;font-weight:600;display:inline-block;font-size:24px">
Web Analytics Italia
</span>
</a>
</td>
<td align="right">
{% if idSite|default is not empty %}
<a style="{{ fontStyle|raw }}; font-size:16px; padding:0 15px; color: {{ themeStyles.colorHeaderText|e('html_attr') }}" {% if websiteName|default is not empty %}title="{{'Dashboard_TopLinkTooltip'|translate(websiteName)}}"{% endif %} target="_blank" href="{{ piwikUrl }}{{ linkTo({'module': 'CoreHome', 'action': 'redirectToCoreHomeIndex', 'idSite': idSite, 'period': period|default, 'date': date|default, 'token_auth': null, 'method': null, 'idReport': null, 'outputType': null, 'format': null})|raw }}">
{{ 'Dashboard_Dashboard'|translate }}
</a>
{% endif %}
</td>
</tr>
</table>

Expand Down

0 comments on commit 5cce8d1

Please sign in to comment.