Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
5 | <title></title> | |
6 | </head> | |
7 | <body> | |
8 | ||
9 | {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} | |
10 | {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} | |
11 | {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} | |
12 | ||
13 | <center> | |
14 | <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;"> | |
15 | ||
16 | <!-- BEGIN HEADER --> | |
17 | <!-- You can add table row(s) here with logo or other header elements --> | |
18 | <!-- END HEADER --> | |
19 | ||
20 | <!-- BEGIN CONTENT --> | |
21 | ||
22 | <tr> | |
23 | <td> | |
24 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
25 | <tr> | |
26 | <th {$headerStyle}> | |
27 | {ts}Activity Summary{/ts} - {$activityTypeName} | |
28 | </th> | |
29 | </tr> | |
30 | {if $isCaseActivity} | |
31 | <tr> | |
32 | <td {$labelStyle}> | |
33 | {ts}Your Case Role(s){/ts} | |
34 | </td> | |
35 | <td {$valueStyle}> | |
36 | {$contact.role} | |
37 | </td> | |
38 | </tr> | |
39 | {/if} | |
40 | {foreach from=$activity.fields item=field} | |
41 | <tr> | |
42 | <td {$labelStyle}> | |
43 | {$field.label}{if $field.category}({$field.category}){/if} | |
44 | </td> | |
45 | <td {$valueStyle}> | |
46 | {if $field.type eq 'Date'} | |
47 | {$field.value|crmDate:$config->dateformatDatetime} | |
48 | {else} | |
49 | {$field.value} | |
50 | {/if} | |
51 | </td> | |
52 | </tr> | |
53 | {/foreach} | |
54 | ||
55 | {foreach from=$activity.customGroups key=customGroupName item=customGroup} | |
56 | <tr> | |
57 | <th {$headerStyle}> | |
58 | {$customGroupName} | |
59 | </th> | |
60 | </tr> | |
61 | {foreach from=$customGroup item=field} | |
62 | <tr> | |
63 | <td {$labelStyle}> | |
64 | {$field.label} | |
65 | </td> | |
66 | <td {$valueStyle}> | |
67 | {if $field.type eq 'Date'} | |
68 | {$field.value|crmDate:$config->dateformatDatetime} | |
69 | {else} | |
70 | {$field.value} | |
71 | {/if} | |
72 | </td> | |
73 | </tr> | |
74 | {/foreach} | |
75 | {/foreach} | |
76 | </table> | |
77 | </td> | |
78 | </tr> | |
79 | </table> | |
80 | </center> | |
81 | ||
82 | </body> | |
83 | </html> |