From: Tim Mallezie Date: Wed, 13 May 2015 19:05:17 +0000 (+0200) Subject: only show tag label when there are tags X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b910dc480eeb21eb5cbf2dee1f234e5d510ac6fe;p=civicrm-core.git only show tag label when there are tags --- diff --git a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl index b2043a4d62..dcd3079ba9 100644 --- a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl +++ b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl @@ -97,7 +97,7 @@ {$form.group.html} {/if} - {if !$type || $type eq 'tag'} + {if (!$type || $type eq 'tag') && $tree} {if $title}{$form.tag.label}{/if}
{include file="CRM/Contact/Form/Edit/Tagtree.tpl" level=1}