Commit | Line | Data |
---|---|---|
926dcf00 KJ |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
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 | <div class="view-content"> | |
27 | {if $groupSmart} | |
28 | <div class="ht-one"></div> | |
29 | <h3>{ts}Smart Groups{/ts}</h3> | |
30 | <div class="description"> | |
31 | {ts 1=$displayName}%1 is currently included in these Smart group(s) (e.g. saved searches).{/ts} | |
32 | </div> | |
33 | {strip} | |
34 | <table id="smart_group" class="display"> | |
35 | <thead> | |
36 | <tr> | |
37 | <th>{ts}Group{/ts}</th> | |
38 | <th>{ts}Description{/ts}</th> | |
39 | </tr> | |
40 | </thead> | |
41 | {foreach from=$groupSmart item=row} | |
42 | <tr id="grp_{$row.id}" class="{cycle values="odd-row,even-row"}"> | |
43 | <td class="bold"> | |
44 | <a href="{crmURL p='civicrm/group/search' q="reset=1&force=1&context=smog&gid=`$row.id`"}"> | |
45 | {$row.title} | |
46 | </a> | |
47 | </td> | |
48 | <td>{$row.description}</td> | |
49 | </tr> | |
50 | {/foreach} | |
51 | </table> | |
52 | {/strip} | |
53 | {/if} | |
54 | {if $groupParent} | |
55 | <div class="ht-one"></div> | |
56 | <h3>{ts}Parent Groups{/ts}</h3> | |
57 | <div class="description"> | |
58 | {ts 1=$displayName}%1 is included in these Parent group(s) based on belonging to group(s) which are their | |
59 | children.{/ts} | |
60 | </div> | |
61 | {strip} | |
62 | <table id="parent_group" class="display"> | |
63 | <thead> | |
64 | <tr> | |
65 | <th>{ts}Group{/ts}</th> | |
66 | </tr> | |
67 | </thead> | |
68 | {foreach from=$groupParent item=row} | |
69 | <tr id="grp_{$row.id}" class="{cycle values="odd-row,even-row"}"> | |
70 | <td class="bold"> | |
71 | <a href="{crmURL p='civicrm/group/search' q="reset=1&force=1&context=smog&gid=`$row.id`"}"> | |
72 | {$row.title} | |
73 | </a> | |
74 | </td> | |
75 | </tr> | |
76 | {/foreach} | |
77 | </table> | |
78 | {/strip} | |
79 | {/if} | |
80 | </div> |