commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / xml / templates / message_templates / case_activity_html.tpl
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 $manageCaseURL}
40 <tr>
41 <td colspan="2" {$valueStyle}>
42 <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
43 </td>
44 </tr>
45 {/if}
46 {/if}
47 {if $editActURL}
48 <tr>
49 <td colspan="2" {$valueStyle}>
50 <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
51 </td>
52 </tr>
53 {/if}
54 {if $viewActURL}
55 <tr>
56 <td colspan="2" {$valueStyle}>
57 <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
58 </td>
59 </tr>
60 {/if}
61 {foreach from=$activity.fields item=field}
62 <tr>
63 <td {$labelStyle}>
64 {$field.label}{if $field.category}({$field.category}){/if}
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
76 {foreach from=$activity.customGroups key=customGroupName item=customGroup}
77 <tr>
78 <th {$headerStyle}>
79 {$customGroupName}
80 </th>
81 </tr>
82 {foreach from=$customGroup item=field}
83 <tr>
84 <td {$labelStyle}>
85 {$field.label}
86 </td>
87 <td {$valueStyle}>
88 {if $field.type eq 'Date'}
89 {$field.value|crmDate:$config->dateformatDatetime}
90 {else}
91 {$field.value}
92 {/if}
93 </td>
94 </tr>
95 {/foreach}
96 {/foreach}
97 </table>
98 </td>
99 </tr>
100 </table>
101 </center>
102
103 </body>
104 </html>