fix CRM-12080
authorDonald A. Lobo <lobo@civicrm.org>
Sat, 9 Mar 2013 17:44:37 +0000 (09:44 -0800)
committerDonald A. Lobo <lobo@civicrm.org>
Sat, 9 Mar 2013 17:44:37 +0000 (09:44 -0800)
templates/CRM/Contact/Page/View/GroupContact.tpl

index 8564f898df5341c56ec8336ea71d09f3adac9e6f..cee0b16ce9ea6158fac3d5297583d9f61b8598fe 100644 (file)
@@ -23,9 +23,8 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
-<div id="groupContact">
 <div class="view-content">
-{if $groupCount eq 0 }
+{if $groupCount eq 0 AND ! $groupSmart AND ! $groupParent}
   <div class="messages status no-popup">
     <div class="icon inform-icon"></div>&nbsp;{ts}This contact does not currently belong to any groups.{/ts}
   </div>