Change inform-icon to fa-info-circle
[civicrm-core.git] / templates / CRM / Contact / Form / Task / Print.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {if $rows}
11 <div class="crm-submit-buttons element-right">
12 {include file="CRM/common/formButtons.tpl" location="top"}
13 </div>
14 <div class="spacer"></div>
15 <div>
16 <br />
17 <table>
18 <tr class="columnheader">
19 {if $id OR $customSearchID}
20 {foreach from=$columnHeaders item=header}
21 <th>{$header}</th>
22 {/foreach}
23 {else}
24 <td>{ts}Name{/ts}</td>
25 {if !empty($columnHeaders.street_address)}
26 <td>{ts}Address{/ts}</td>
27 {/if}
28 {if !empty($columnHeaders.city)}
29 <td>{ts}City{/ts}</td>
30 {/if}
31 {if !empty($columnHeaders.state_province)}
32 <td>{ts}State{/ts}</td>
33 {/if}
34 {if !empty($columnHeaders.postal_code)}
35 <td>{ts}Postal{/ts}</td>
36 {/if}
37 {if !empty($columnHeaders.country)}
38 <td>{ts}Country{/ts}</td>
39 {/if}
40 <td>{ts}Email{/ts}</td>
41 <td>{ts}Phone{/ts}</td>
42 <td>{ts}Do Not Email{/ts}</td>
43 <td>{ts}Do Not Phone{/ts}</td>
44 <td>{ts}Do Not mail{/ts}</td>
45 {/if}
46 </tr>
47 {foreach from=$rows item=row}
48 <tr class="{cycle values="odd-row,even-row"}">
49 {if $id}
50 <td>{$row.sort_name}</td>
51 {foreach from=$row item=value key=key}
52 {if ($key neq "checkbox") and ($key neq "action") and ($key neq "contact_type") and ($key neq "status") and ($key neq "contact_id") and ($key neq "sort_name")}
53 <td>{$value}</td>
54 {/if}
55 {/foreach}
56 {elseif $customSearchID}
57 {foreach from=$columnHeaders item=header key=name}
58 <td>{$row.$name}</td>
59 {/foreach}
60 {else}
61 <td>{$row.sort_name}</td>
62 {if !empty($columnHeaders.street_address)}
63 <td>{$row.street_address}</td>
64 {/if}
65 {if !empty($columnHeaders.city)}
66 <td>{$row.city}</td>
67 {/if}
68 {if !empty($columnHeaders.state_province)}
69 <td>{$row.state_province}</td>
70 {/if}
71 {if !empty($columnHeaders.postal_code)}
72 <td>{$row.postal_code}</td>
73 {/if}
74 {if !empty($columnHeaders.country)}
75 <td>{$row.country}</td>
76 {/if}
77 <td>{$row.email}</td>
78 <td>{$row.phone}</td>
79 {if $row.do_not_email == 1}
80 <td>{$row.do_not_email}</td>
81 {else}
82 <td>&nbsp;</td>
83 {/if}
84 {if $row.do_not_phone == 1}
85 <td>{$row.do_not_phone}</td>
86 {else}
87 <td>&nbsp;</td>
88 {/if}
89 {if $row.do_not_mail == 1}
90 <td>{$row.do_not_mail}</td>
91 {else}
92 <td>&nbsp;</td>
93 {/if}
94 {/if}
95 </tr>
96 {/foreach}
97 </table>
98 </div>
99
100 <div class="crm-submit-buttons element-right">
101 {include file="CRM/common/formButtons.tpl" location="bottom"}
102 </div>
103
104 {else}
105 <div class="messages status no-popup">
106 {icon icon="fa-info-circle"}{/icon}
107 {ts}There are no records selected for Print.{/ts}
108 </div>
109 {/if}