Skip to content

Commit 4bb95ac

Browse files
authored
Merge pull request #19 from nextmcloud/nmc/2726-missing-logo-image
new image path
2 parents 6d60fb3 + 963aba6 commit 4bb95ac

12 files changed

Lines changed: 30 additions & 30 deletions

htmls/activity.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<tr>
8686
<td class="content-block" style="background: #e20074;font-family: sans-serif; vertical-align: top; padding-bottom: 16px; padding-top: 16px; padding-left:24px; font-size: 12px; color: #999999; text-align: left;
8787
">
88-
<img src="https://dev1.next.magentacloud.de/themes/nextmagentacloud21/core/img/logo.svg" width="72px" height="35px"/>
88+
<img src="/customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
8989
<span style="color: #fff; font-size: 16px; text-align: left;font-weight:bold;line-height: 40px;padding-left: 24px;vertical-align: top;"> Life is for sharing.</span>
9090
</td>
9191
</tr>
@@ -117,7 +117,7 @@
117117
<tbody>
118118
<tr>
119119
<td>
120-
<img src="https://dev1.next.magentacloud.de//themes/nextmagentacloud21/core/img/email/add.svg">
120+
<img src="/customapps/nmctheme/img/email/add.svg" style="width: 35px;">
121121
</td>
122122
<td style="font-family: sans-serif; font-size: 16px;padding-top:16px;padding-left: 8px;">
123123
<span style="color: #666;">Today at 3:47PM</span>
@@ -129,7 +129,7 @@
129129
</tr>
130130
<tr>
131131
<td>
132-
<img src="https://dev1.next.magentacloud.de//themes/nextmagentacloud21/core/img/email/edit.svg">
132+
<img src="/customapps/nmctheme/img/email/edit.svg" style="width: 35px;">
133133
</td>
134134
<td style="font-family: sans-serif; font-size: 16px;padding-top:16px;padding-left: 8px;">
135135
<span style="color: #666;">Today at 3:47PM</span>
@@ -140,7 +140,7 @@
140140
</tr>
141141
<tr>
142142
<td>
143-
<img src="https://dev1.next.magentacloud.de//themes/nextmagentacloud21/core/img/email/image.svg">
143+
<img src="/customapps/nmctheme/img/email/image.svg" style="width: 35px;">
144144
</td>
145145
<td style="font-family: sans-serif; font-size: 16px;padding-top:16px;padding-left: 8px;">
146146
<span style="color: #666;">Today at 3:47PM</span>

htmls/email.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
110110
<tbody><tr style="background: #e20074;">
111111
<td class="content-block" style="padding: 16px 24px;">
112-
<img src="http://master.nextmagentacloud.com/themes/nextmagentacloud21/core/img/logo-new.png" width="72px" height="35px">
112+
<img src="/customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
113113
</td>
114114
<td style="width: 100%; padding: 16px 0;text-align: left;">
115115
<span style="color: #fff;font-size: 16px;font-weight:bold;">Life is for sharing.</span>

htmls/montly-status.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<tr>
116116
<td class="content-block" style="background: #e20074;font-family: sans-serif; vertical-align: top; padding-bottom: 16px; padding-top: 16px; padding-left:24px; font-size: 12px; color: #999999; text-align: left;
117117
">
118-
<img src="https://dev1.next.magentacloud.de/themes/nextmagentacloud21/core/img/logo.svg" width="72" height="35"/>
118+
<img src="/customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
119119
<span style="color: #fff; font-size: 16px; text-align: left;font-weight:bold;line-height: 40px;padding-left: 24px;vertical-align: top;"> Life is for sharing.</span>
120120
</td>
121121
</tr>
@@ -151,7 +151,7 @@
151151
</td>
152152
<td class="monthly-storage" style="text-align: center;font-family: sans-serif; font-size: 14px; vertical-align: top;padding-left: 12px;width: 50%;">
153153
<div style="background: #f1f1f1;border-top: 48px solid #f1f1f1;border-right: 24px solid #f1f1f1;border-left: 24px solid #f1f1f1;border-bottom: 24px solid #f1f1f1;">
154-
<img src="https://dev1.next.magentacloud.de/themes/nextmagentacloud21/core/img/email/add.svg" height="48" width="48">
154+
<img src="/customapps/nmctheme/img/email/add.svg" style="width: 48px;">
155155
<div style="border-top: 8px solid #f1f1f1;border-bottom: 8px solid #f1f1f1;"><span style="font-size: 25px;"><span style="color: #e20074;">47</span> Shares</span></div>
156156
<br>
157157
<span style="font-weight: bold;">Shares</span>

htmls/quota-warning.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<tr>
116116
<td class="content-block" style="background: #e20074;font-family: sans-serif; vertical-align: top; padding-bottom: 16px; padding-top: 16px; padding-left:24px; font-size: 12px; color: #999999; text-align: left;
117117
">
118-
<img src="https://dev1.next.magentacloud.de/themes/nextmagentacloud21/core/img/logo.svg" width="72px" height="35px"/>
118+
<img src="/customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
119119
<span style="color: #fff; font-size: 16px; text-align: left;font-weight:bold;line-height: 40px;padding-left: 24px;vertical-align: top;"> Life is for sharing.</span>
120120
</td>
121121
</tr>

htmls/welcome.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@
9696
<tr>
9797
<td class="content-block" style="background: #e20074;font-family: sans-serif; vertical-align: top; padding-bottom: 16px; padding-top: 16px; padding-left:24px; font-size: 12px; color: #999999; text-align: left;
9898
">
99-
<img src="https://dev1.next.magentacloud.de/themes/nextmagentacloud21/core/img/logo.svg" width="72px" height="35px"/>
99+
<img src="/customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
100100
<span style="color: #fff; font-size: 16px; text-align: left;font-weight:bold;line-height: 40px;padding-left: 24px;vertical-align: top;"> Life is for sharing.</span>
101101
</td>
102102
</tr>
103103
<tr>
104104
<td class="content-block" style="font-family: sans-serif; vertical-align: top;">
105-
<img src="./welcome-banner.png" width="100%" style="margin-top: 16px;"/>
105+
<img src="../img/welcome-banner.png" width="100%" style="margin-top: 16px;"/>
106106
</td>
107107
</tr>
108108
</table>

lib/EMailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class EMailTemplate extends ParentTemplate {
181181
<table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
182182
<tr style="background: #e20074;">
183183
<td class="content-block" style="padding: 16px 24px;">
184-
<img src="host_namethemes/nextmagentacloud21/core/img/logo-new-updated.png" height="35px" />
184+
<img src="host_namecustomapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
185185
</td>
186186
<td style="width: 100%; padding: 16px 0;text-align: left;">
187187
<span style="color: #fff;font-size: 16px;font-weight:bold;"></span>

lib/MessageProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public function writeShareMessage(IEMailTemplate $emailTemplate, int $shareCount
378378
</td>
379379
<td class="monthly-storage" style="text-align: center;font-family: sans-serif; font-size: 14px; vertical-align: top;padding-left: 12px;width: 50%;">
380380
<div style="background: #f1f1f1;border-top: 48px solid #f1f1f1;border-right: 24px solid #f1f1f1;border-left: 24px solid #f1f1f1;border-bottom: 24px solid #f1f1f1;">
381-
<img src="$home/themes/nextmagentacloud21/core/img/email/user-share.png" height="48" width="48">
381+
<img src="$home/customapps/nmctheme/img/email/user-share.svn" style="width: 48px;">
382382
<div style="border-top: 8px solid #f1f1f1;border-bottom: 8px solid #f1f1f1;"><span style="font-size: 25px;"><span style="color: #e20074;">$shareCount</span> </span></div>
383383
<br>
384384
<span style="font-weight: bold;">$share</span>

template/welcome_mail.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
9696
<tr style="background: #e20074;">
9797
<td class="content-block" style="padding: 16px 24px;">
98-
<img src="'.$this->urlPath.'themes/nextmagentacloud21/core/img/logo-new-updated.png" height="35px"/>
98+
<img src="'.$this->urlPath.'customapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
9999
</td>
100100
<td style="width: 100%; padding: 16px 0;text-align: left;">
101101
<span style="color: #fff;font-size: 16px;font-weight:bold;"></span>
@@ -107,7 +107,7 @@
107107
<tbody>
108108
<tr>
109109
<td class="content-block" style="font-family: sans-serif; vertical-align: top;">
110-
<img src="'.$this->urlPath.'themes/nextmagentacloud21/core/img/email/welcome-banner.png" width="100%" style="margin-top: 16px;"/>
110+
<img src="'.$this->urlPath.'customapps/nmc_email_template/img/welcome-banner.png" width="100%" style="margin-top: 16px;"/>
111111
</td>
112112
</tr>
113113
</table>
@@ -135,7 +135,7 @@
135135
<tr style="background-color: #f1f1f1;">
136136
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;padding-right: 12px;">
137137
<div style="Width: 100%;padding-top: 32px;padding-bottom: 24px;padding-left: 24px;box-sizing: border-box;">
138-
<img src="'.$this->urlPath.'themes/nextmagentacloud21/core/img/email/mobile.png" width="48px" height="48px">
138+
<img src="'.$this->urlPath.'customapps/nmctheme/img/email/mobile.svg" style="margin-right: 8px; width: 48px;" />
139139
<div style="display: inline-block;vertical-align: top;padding-top: 2px;">
140140
<span style="font-size: 16px;color:#191919">'.$this->l10n->t('Software & Apps').':</span>
141141
<br/>
@@ -145,7 +145,7 @@
145145
</td>
146146
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;padding-right: 12px;">
147147
<div style="width: 100%;padding-top: 32px;padding-bottom: 24px;padding-right: 24px;box-sizing: border-box;">
148-
<img src="'.$this->urlPath.'themes/nextmagentacloud21/core/img/email/computer.png" width="48px" height="48px" style="margin-right: 8px;">
148+
<img src="'.$this->urlPath.'customapps/nmctheme/img/email/computer.svg" style="margin-right: 8px; width: 48px;" />
149149
<div style="display: inline-block;vertical-align: super;padding-top: 2px;">
150150
<span style="font-size: 16px;color:#191919">'.$this->l10n->t('Online Information').':</span>
151151
<br/>
@@ -161,10 +161,10 @@
161161
<div style="">
162162
<span style="font-family: sans-serif; font-size: 14px;font-weight: bold;">'.$this->l10n->t('The advantages of the MagentaCLOUD at a glance').':</span>
163163
<ul style="margin-top: 16px;margin-bottom: 32px;list-style: none;padding: 0;">
164-
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'themes/nextmagentacloud21/core/img/email/checkmark.png); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Keep memories safe').'</li>
165-
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'themes/nextmagentacloud21/core/img/email/checkmark.png); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Share special moments with family').'</li>
166-
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'themes/nextmagentacloud21/core/img/email/checkmark.png); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Keep all files in overview').'</li>
167-
<li style="margin-bottom: 0px;background: url('.$this->urlPath.'themes/nextmagentacloud21/core/img/email/checkmark.png); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Expand device memory free of charge').'</li>
164+
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'customapps/nmctheme/img/email/checkmark.svg); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Keep memories safe').'</li>
165+
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'customapps/nmctheme/img/email/checkmark.svg); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Share special moments with family').'</li>
166+
<li style="margin-bottom: 8px;background: url('.$this->urlPath.'customapps/nmctheme/img/email/checkmark.svg); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Keep all files in overview').'</li>
167+
<li style="margin-bottom: 0px;background: url('.$this->urlPath.'customapps/nmctheme/img/email/checkmark.svg); background-repeat: no-repeat;text-indent: 32px;">'.$this->l10n->t('Expand device memory free of charge').'</li>
168168
</ul>
169169
<p style="margin:0"> '.$this->l10n->t('You can find more information as well as frequently asked questions and answers about MagentaCLOUD at').'</p>
170170
<a href="www.telekom.de/magentacloud" style="text-decoration: none;">www.telekom.de/magentacloud</a>

tests/EMailTemplateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function testEMailTemplateDefaultHeader() {
148148
<table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
149149
<tr>
150150
<td class="content-block" style="background: #e20074;font-family: sans-serif; vertical-align: top; padding-bottom: 16px; padding-top: 16px; padding-left:24px; font-size: 12px; color: #999999; text-align: left;">
151-
<img src="host_namethemes/nextmagentacloud21/core/img/logo-new.png" width="72px" height="35px"/>
151+
<img src="host_namecustomapps/nmctheme/img/telekom/tlogocarrier.svg" style="width: 35px;" />
152152
<span style="color: #fff; font-size: 16px; text-align: left;font-weight:bold;line-height: 40px;padding-left: 24px;vertical-align: top;">Life is for sharing.</span>
153153
</td>
154154
</tr>

0 commit comments

Comments
 (0)