Commit | Line | Data |
---|---|---|
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 | <div> | |
8 | <br /> | |
9 | <table> | |
10 | <tr class="columnheader"> | |
11 | <th>{ts}Display Name{/ts}</th> | |
12 | <th>{ts}Amount{/ts}</th> | |
13 | <th>{ts}Register Date{/ts}</th> | |
14 | <th>{ts}Source{/ts}</th> | |
15 | </tr> | |
16 | ||
17 | {foreach from=$rows item=row} | |
18 | <tr class="{cycle values="odd-row,even-row"}"> | |
19 | <td class="crm-event-searchtaskhooksample-display_name">{$row.display_name}</td> | |
20 | <td class="crm-event-searchtaskhooksample-amount">{$row.amount}</td> | |
21 | <td class="crm-event-searchtaskhooksample-register_date">{$row.register_date}</td> | |
22 | <td class="crm-event-searchtaskhooksample-source">{$row.source}</td> | |
23 | </tr> | |
24 | {/foreach} | |
25 | </table> | |
26 | </div> | |
27 | ||
28 | <div class="crm-submit-buttons"> | |
29 | <span class="element-right">{include file="CRM/common/formButtons.tpl" location="bottom"}</span> | |
30 | </div> | |
31 | ||
32 | {else} | |
33 | <div class="messages status no-popup"> | |
34 | <div class="icon inform-icon"></div> {ts}There are no records selected.{/ts} | |
35 | </div> | |
36 | {/if} |