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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2017-01-22 07:31:23 +0300
committerGitHub <noreply@github.com>2017-01-22 07:31:23 +0300
commit111d605c31a7d530bb1082881799a3ad828be8ed (patch)
tree2ea0d4379c4c42c211d863e39a03d877aa3f804a /plugins/ScheduledReports/ScheduledReports.php
parent50cd6ffb9d340a635744ffcae3b01805a5dafbd3 (diff)
Email reports in HTML: Updated styling to be consistent with new Custom Alerts emails design (#11251)
* Updated Email Report/Downloaded Report. Added new styling found in the Alert Email. i.e navigation bar uptop, styled tables, added powered by piwik footer. Note: "back to top" link only works on downloaded version, not on the email. * Fixed the back to top link not working in emails. * Fixed a bug where logo was not centered in gmail * Translations * Code cleanup and making PDF generation work * removed htaccess * fix unit test * Some test fixes * UI Test
Diffstat (limited to 'plugins/ScheduledReports/ScheduledReports.php')
-rw-r--r--plugins/ScheduledReports/ScheduledReports.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php
index 60d7d4fa08..53bf30c502 100644
--- a/plugins/ScheduledReports/ScheduledReports.php
+++ b/plugins/ScheduledReports/ScheduledReports.php
@@ -306,7 +306,6 @@ class ScheduledReports extends \Piwik\Plugin
}
$periods = self::getPeriodToFrequencyAsAdjective();
- $message = Piwik::translate('ScheduledReports_EmailHello');
$subject = Piwik::translate('General_Report') . ' ' . $reportTitle . " - " . $prettyDate;
$mail = new Mail();
@@ -338,13 +337,7 @@ class ScheduledReports extends \Piwik\Plugin
// Needed when using images as attachment with cid
$mail->setType(Zend_Mime::MULTIPART_RELATED);
- $message .= "<br/>$messageFindBelow<br/>$messageSentFrom";
-
- if ($displaySegmentInfo) {
- $message .= " " . $segmentInfo;
- }
-
- $mail->setBodyHtml($message . "<br/><br/>" . $contents);
+ $mail->setBodyHtml($contents);
break;
case 'csv':