Merge pull request #17981 from eileenmcnaughton/merge_form
[civicrm-core.git] / templates / CRM / Activity / Form / Task / SearchTaskHookSample.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
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 |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{if $rows}
11<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
12
13<div class="spacer"></div>
14
15<div>
16<br />
17<table>
18 <tr class="columnheader">
19 <td>{ts}Display Name{/ts}</td>
20 <td>{ts}Subject{/ts}</th>
21 <td>{ts}Activity Type{/ts}</td>
22 <td>{ts}Activity Date{/ts}</td>
23 </tr>
24
25 {foreach from=$rows item=row}
26 <tr class="{cycle values="odd-row,even-row"}">
27 <td>{$row.display_name}</td>
28 <td>{$row.subject}</td>
29 <td>{$row.activity_type}</td>
30 <td>{$row.activity_date}</td>
31 </tr>
32 {/foreach}
33</table>
34</div>
35
36<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
37
38{else}
39 <div class="messages status no-popup">
34d6cec4 40 {icon icon="fa-info-circle"}{/icon}
6a488035
TO
41 {ts}There are no records selected.{/ts}
42 </div>
232624b1 43{/if}