Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
232624b1 | 3 | | CiviCRM version 4.4 | |
6a488035 TO |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
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 | {strip} | |
27 | <p> | |
28 | {if $rows} | |
29 | <table> | |
30 | <tr class="columnheader"> | |
31 | <th>{ts}Saved Search{/ts}</th> | |
32 | <th>{ts}Description{/ts}</th> | |
33 | <th>{ts}Criteria{/ts}</th> | |
34 | <th></th> | |
35 | </tr> | |
36 | ||
37 | {foreach from=$rows item=row} | |
38 | <tr class="{cycle values="odd-row,even-row"}"> | |
39 | <td>{$row.name}</td> | |
40 | <td>{$row.description}</td> | |
41 | <td><ul> | |
42 | {foreach from=$row.query_detail item=criteria} | |
43 | <li>{$criteria}</li> | |
44 | {/foreach} | |
45 | </ul> | |
46 | </td> | |
47 | <td>{$row.action}</td> | |
48 | </tr> | |
49 | {/foreach} | |
50 | </table> | |
51 | {else} | |
52 | <div class="messages status no-popup"> | |
53 | <dl> | |
54 | <dt><img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/></dt> | |
55 | <dd> | |
56 | {ts}There are currently no Saved Searches. To create a Saved search:{/ts} | |
57 | <p> | |
58 | <ul> | |
59 | {capture assign=crmURLsearch}{crmURL p='civicrm/contact/search/basic' q='reset=1'}{/capture} | |
60 | {capture assign=crmURLadvanced}{crmURL p='civicrm/contact/search/advanced' q='reset=1'}{/capture} | |
61 | <li>{ts 1=$crmURLsearch 2=$crmURLadvanced}Use <a href='%1'>Find</a> or <a href='%2'>Advanced Search</a> form to enter search criteria{/ts}</li> | |
62 | <li>{ts}Run and refine the search criteria as necessary{/ts}</li> | |
63 | <li>{ts}Select 'New Saved Search' from the '- more actions -' drop-down menu and click 'Go'{/ts}</li> | |
64 | <li>{ts}Enter a name and description for your Saved Search{/ts}</li> | |
65 | </ul> | |
66 | </p> | |
67 | </dd> | |
68 | </dl> | |
69 | </div> | |
70 | {/if} | |
71 | </p> | |
72 | {/strip} |