Skip to content

Commit 59e0b98

Browse files
committed
MAGETWO-69668: [#7291] Change the default contact form email template to HTML #9786
1 parent d7c4eb2 commit 59e0b98

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

app/code/Magento/Contact/view/frontend/email/submitted_form.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616

1717
<table class="message-details">
1818
<tr>
19-
<th>{{trans "Name"}}</th>
19+
<td><b>{{trans "Name"}}</b></td>
2020
<td>{{var data.name}}</td>
2121
</tr>
2222
<tr>
23-
<th>{{trans "Email"}}</th>
23+
<td><b>{{trans "Email"}}</b></td>
2424
<td>{{var data.email}}</td>
2525
</tr>
2626
<tr>
27-
<th>{{trans "Phone"}}</th>
27+
<td><b>{{trans "Phone"}}</b></td>
2828
<td>{{var data.telephone}}</td>
2929
</tr>
3030
</table>
31-
<p><strong>{{trans "Message"}}</strong></p>
31+
<p><b>{{trans "Message"}}</b></p>
3232
<p>{{var data.comment}}</p>
3333

3434
{{template config_path="design/email/footer_template"}}

app/design/frontend/Magento/blank/web/css/source/_email-base.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,15 @@ body {
291291
.message-details {
292292
margin-bottom: @indent__s;
293293

294-
th,
294+
b {
295+
font-weight: bold;
296+
}
297+
295298
td {
296299
padding-bottom: @indent__xs;
297300

298-
& + td {
299-
padding-left: @indent__s;
301+
b {
302+
margin-right: @indent__s;
300303
}
301304
}
302305
}

0 commit comments

Comments
 (0)