Merge pull request #3464 from totten/master-file-search
[civicrm-core.git] / templates / CRM / Contact / Form / Search / EmptyResults.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
819d0d41 3 | CiviCRM version 4.5 |
6a488035 4 +--------------------------------------------------------------------+
819d0d41 5 | Copyright CiviCRM LLC (c) 2004-2014 |
6a488035
TO
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25*}
26{* No matches for submitted search request or viewing an empty group. *}
27<div class="messages status no-popup">
28 <div class="icon inform-icon"></div>&nbsp;
29 {if $context EQ 'smog'}
30 {capture assign=crmURL}{crmURL q="context=amtg&amtgID=`$group.id`&reset=1"}{/capture}{ts 1=$group.title 2=$crmURL}%1 has no contacts which match your search criteria. You can <a href='%2'>add contacts here.</a>{/ts}
31 {else}
32 {if $qill}{ts}No matches found for:{/ts}
33 {include file="CRM/common/displaySearchCriteria.tpl"}
34 <br />
35 {else}
36 {ts}No matches found.{/ts}
37 {/if}
38 {ts}Suggestions:{/ts}
39 <ul>
40 <li>{ts}check your spelling{/ts}</li>
41 <li>{ts}try a different spelling or use fewer letters{/ts}</li>
42 <li>{ts}if you are searching within a Group or for Tagged contacts, try 'any group' or 'any tag'{/ts}</li>
43 {if $context NEQ 'Profile'}
44 {capture assign=crmURLI}{crmURL p='civicrm/contact/add' q='ct=Individual&reset=1'}{/capture}
45 {capture assign=crmURLO}{crmURL p='civicrm/contact/add' q='ct=Organization&reset=1'}{/capture}
46 {capture assign=crmURLH}{crmURL p='civicrm/contact/add' q='ct=Household&reset=1'}{/capture}
47 <li>{ts 1=$crmURLI 2=$crmURLO 3=$crmURLH}add a <a href='%1'>New Individual</a>, <a href='%2'>Organization</a> or <a href='%3'>Household</a>{/ts}</li>
48 <li>{ts}make sure you have enough privileges in the access control system{/ts}</li>
49 {/if}
50 </ul>
51 {/if}
52</div>