From 6cc459dfe180bf04de5e1df5c27fcae9fa9df335 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 29 Dec 2013 17:48:51 -0800 Subject: [PATCH] GroupContact.tpl - js cleanup --- .../CRM/Contact/Page/View/GroupContact.tpl | 43 +++++++------------ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/templates/CRM/Contact/Page/View/GroupContact.tpl b/templates/CRM/Contact/Page/View/GroupContact.tpl index 0b0e78018c..8302db560a 100644 --- a/templates/CRM/Contact/Page/View/GroupContact.tpl +++ b/templates/CRM/Contact/Page/View/GroupContact.tpl @@ -23,16 +23,16 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -
+
{if $groupCount eq 0}
 {ts}This contact does not currently belong to any groups.{/ts}
+ {else} + {include file="CRM/common/jsortable.tpl"} {/if} - {include file="CRM/common/jsortable.tpl"} - {* Include 'add to new group' form if session has edit contact permissions *} {if $permission EQ 'edit'} {include file="CRM/Contact/Form/GroupContact.tpl"} @@ -187,32 +187,19 @@ {/literal} -- 2.25.1