File tree Expand file tree Collapse file tree 2 files changed +29
-6
lines changed
code/Magento/Contact/view/frontend/email
design/frontend/Magento/blank/web/css/source Expand file tree Collapse file tree 2 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 14
14
15
15
{{template config_path="design/email/header_template"}}
16
16
17
- < ul >
18
- < li > {{trans "Name: %name" name=$data.name}}</ li >
19
- < li > {{trans "Email: %email" email=$data.email}}</ li >
20
- < li > {{trans "Phone Number: %telephone" telephone=$data.telephone}}</ li >
21
- < li > {{trans "Comment: %comment" comment=$data.comment}}</ li >
22
- </ ul >
17
+ < table class ="message-details ">
18
+ < tr >
19
+ < th > {{trans "Name"}}</ th >
20
+ < td > {{var data.name}}</ td >
21
+ </ tr >
22
+ < tr >
23
+ < th > {{trans "Email"}}</ th >
24
+ < td > {{var data.email}}</ td >
25
+ </ tr >
26
+ < tr >
27
+ < th > {{trans "Phone"}}</ th >
28
+ < td > {{var data.telephone}}</ td >
29
+ </ tr >
30
+ </ table >
31
+ < p > < strong > {{trans "Message"}}</ strong > </ p >
32
+ < p > {{var data.comment}}</ p >
23
33
24
34
{{template config_path="design/email/footer_template"}}
Original file line number Diff line number Diff line change @@ -287,3 +287,16 @@ body {
287
287
}
288
288
}
289
289
}
290
+
291
+ .message-details {
292
+ margin-bottom : @indent__s ;
293
+
294
+ th ,
295
+ td {
296
+ padding-bottom : @indent__xs ;
297
+
298
+ & + td {
299
+ padding-left : @indent__s ;
300
+ }
301
+ }
302
+ }
You can’t perform that action at this time.
0 commit comments