commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / templates / CRM / Group / Page / Group.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 {* Actions: 1=add, 2=edit, browse=16, delete=8 *}
27 {if $action ne 1 and $action ne 2 and $action ne 8 and $groupPermission eq 1}
28 <div class="crm-submit-buttons">
29 <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Group{/ts}</span></a><br/>
30 </div>
31 {/if} {* action ne add or edit *}
32 <div class="crm-block crm-content-block">
33 {if $action eq 16}
34 <div id="help">
35 {ts}Use Groups to organize contacts (e.g. these contacts are part of our 'Steering Committee'). You can also create 'smart' groups based on contact characteristics (e.g. this group consists of all people in our database who live in a specific locality).{/ts} {help id="manage_groups"}
36 </div>
37 {/if}
38 {if $action ne 2 AND $action ne 8}
39 {include file="CRM/Group/Form/Search.tpl"}
40 {/if}
41
42 {if $action eq 1 or $action eq 2}
43 {include file="CRM/Group/Form/Edit.tpl"}
44 {elseif $action eq 8}
45 {include file="CRM/Group/Form/Delete.tpl"}
46 {/if}
47
48 {if $action ne 1 and $action ne 2 and $action ne 8 and $groupPermission eq 1}
49 <div class="crm-submit-buttons">
50 <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Group{/ts}</span></a><br/>
51 </div>
52 {/if} {* action ne add or edit *}
53 </div>