Merge remote-tracking branch 'upstream/4.3' into 4.3-4.4-2013-11-11-10-44-51
[civicrm-core.git] / templates / CRM / Case / Form / Task / SearchTaskHookSample.tpl
CommitLineData
6a488035
TO
1{if $rows}
2<div class="crm-submit-buttons">
3 <span class="element-right">{include file="CRM/common/formButtons.tpl" location="top"}</span>
4</div>
5
6<div class="spacer"></div>
7
8<div>
9<br />
10<table>
11 <tr class="columnheader">
12 <th>{ts}Display Name{/ts}</th>
13 <th>{ts}Start Date{/ts}</th>
14 <th>{ts}Status{/ts}</th>
15 </tr>
16
17 {foreach from=$rows item=row}
18 <tr class="{cycle values="odd-row,even-row"}">
19 <td class="crm-case-searchtaskhooksample-display_name">{$row.display_name}</td>
20 <td class="crm-case-searchtaskhooksample-start_date">{$row.start_date}</td>
21 <td class="crm-case-searchtaskhooksample-status">{$row.status}</td>
22 </tr>
23 {/foreach}
24</table>
25</div>
26
27<div class="crm-submit-buttons">
28 <span class="element-right">{include file="CRM/common/formButtons.tpl" location="bottom"}</span>
29</div>
30
31{else}
32 <div class="messages status no-popup">
33 <div class="icon inform-icon"></div>
34 {ts}There are no records selected.{/ts}
35 </div>
36{/if}