Merge pull request #15818 from colemanw/fields
[civicrm-core.git] / templates / CRM / Member / Form / Task / SearchTaskHookSample.tpl
1 {if $rows}
2 <div class="crm-submit-buttons element-right">
3 {include file="CRM/common/formButtons.tpl" location="top"}
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}End Date{/ts}</th>
15 <th>{ts}Source{/ts}</th>
16 </tr>
17
18 {foreach from=$rows item=row}
19 <tr class="{cycle values="odd-row,even-row"} crm-membership">
20 <td class="crm-membership-display_name">{$row.display_name}</td>
21 <td class="crm-membership-start_date">{$row.start_date}</td>
22 <td class="crm-membership-end_date">{$row.end_date}</td>
23 <td class="crm-membership-source">{$row.source}</td>
24 </tr>
25 {/foreach}
26 </table>
27 </div>
28 <div class="crm-submit-buttons element-right">
29 {include file="CRM/common/formButtons.tpl" location="bottom"}
30 </div>
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}