Merge pull request #15927 from eileenmcnaughton/event_form
[civicrm-core.git] / templates / CRM / common / searchResultTasks.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
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 |
8 +--------------------------------------------------------------------+
9 *}
10 {* Form elements for displaying and running action tasks on search results for all component searches. *}
11
12 <div id="search-status">
13 <table class="form-layout-compressed">
14 <tr>
15 <td class="font-size12pt" style="width: 40%;">
16 {if $savedSearch.name}{$savedSearch.name} ({ts}smart group{/ts}) - {/if}
17 {ts count=$pager->_totalItems plural='%count Results'}%count Result{/ts}{if $selectorLabel}&nbsp;-&nbsp;{$selectorLabel}{/if}
18 {if $context == 'Event' && $participantCount && ( $pager->_totalItems ne $participantCount ) }
19 <br />{ts}Actual participant count{/ts} : {$participantCount} {help id="id-actual_participant_count" file="CRM/Event/Form/Search/Results.hlp"} &nbsp;
20 {/if}
21 </td>
22 <td>
23 {* Search criteria are passed to tpl in the $qill array *}
24 {if $qill}
25 {include file="CRM/common/displaySearchCriteria.tpl"}
26 {/if}
27 </td>
28 </tr>
29 {if $context == 'Contribution'}
30 <tr>
31 <td colspan="2">
32 {include file="CRM/Contribute/Page/ContributionTotals.tpl"}
33 </td>
34 </tr>
35 {/if}
36 <tr>
37 <td class="font-size11pt"> {ts}Select Records{/ts}:</td>
38 <td class="nowrap">
39 {$form.radio_ts.ts_all.html} <label for="{$ts_all_id}">{ts count=$pager->_totalItems plural='All %count records'}The found record{/ts}</label> &nbsp; {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} <label for="{$ts_sel_id}">{ts 1="<span></span>"}%1 Selected records only{/ts}</label>{/if}
40 </td>
41 </tr>
42 <tr>
43 <td colspan="2">
44 {* Note print buttons were mostly removed except for Campaign search - the following lines can be removed soon CRM-12872 *}
45 {if !empty($printButtonName)}
46 {$form.$printButtonName.html} &nbsp; &nbsp;
47 {elseif !empty($form._qf_Search_next_print)}
48 {$form._qf_Search_next_print.html} &nbsp; &nbsp;
49 {/if}
50
51 <span id='task-section'>
52 {$form.task.html}
53 {if $actionButtonName}
54 {$form.$actionButtonName.html} &nbsp; &nbsp;
55 {else}
56 {$form._qf_Search_next_action.html}
57 {/if}
58 </span>
59 </td>
60 </tr>
61 </table>
62 </div>