| 1 | {if $rows} |
| 2 | <div class="crm-submit-buttons element-right">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
| 3 | |
| 4 | <div class="spacer"></div> |
| 5 | |
| 6 | <div> |
| 7 | <br /> |
| 8 | <table> |
| 9 | <tr class="columnheader"> |
| 10 | <td>{ts}Display Name{/ts}</td> |
| 11 | <td>{ts}Decision Date{/ts}</td> |
| 12 | <td>{ts}Amount Requested{/ts}</td> |
| 13 | <td>{ts}Amount Granted{/ts}</td> |
| 14 | </tr> |
| 15 | |
| 16 | {foreach from=$rows item=row} |
| 17 | <tr class="{cycle values="odd-row,even-row"} crm-grant"> |
| 18 | <td class="crm-grant-task-SearchTaskHookSample-form-block-display_name">{$row.display_name}</td> |
| 19 | <td class="crm-grant-task-SearchTaskHookSample-form-block-decision_date">{$row.decision_date}</td> |
| 20 | <td class="crm-grant-task-SearchTaskHookSample-form-block-amount_requested">{$row.amount_requested}</td> |
| 21 | <td class="crm-grant-task-SearchTaskHookSample-form-block-amount_granted">{$row.amount_granted}</td> |
| 22 | </tr> |
| 23 | {/foreach} |
| 24 | </table> |
| 25 | </div> |
| 26 | |
| 27 | <div class="crm-submit-buttons element-right">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
| 28 | |
| 29 | {else} |
| 30 | <div class="messages status no-popup"> |
| 31 | <div class="icon inform-icon"></div> |
| 32 | {ts}There are no records selected.{/ts} |
| 33 | </div> |
| 34 | {/if} |