From 7ae2f0dd57602c28b1f3b4e6d67192122f47a30f Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 19 Sep 2017 10:58:38 +1000 Subject: [PATCH] CRM-21011 Sort out tag descriptions when displaying better --- templates/CRM/Contact/Form/Edit/Tagtree.tpl | 2 +- templates/CRM/Contact/Page/View/Summary.tpl | 2 +- templates/CRM/Tag/Form/Tag.tpl | 4 ++-- templates/CRM/Tag/Form/Tagtree.tpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/CRM/Contact/Form/Edit/Tagtree.tpl b/templates/CRM/Contact/Form/Edit/Tagtree.tpl index 2f6d1c51b1..d35eea13e3 100644 --- a/templates/CRM/Contact/Form/Edit/Tagtree.tpl +++ b/templates/CRM/Contact/Form/Edit/Tagtree.tpl @@ -29,7 +29,7 @@
  • - + {if $node.children} {* Recurse... *} diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index 3e646f2801..4b359d825c 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -166,7 +166,7 @@
    {foreach from=$contactTag item=tagName key=tagId} - + {$tagName} {/foreach} diff --git a/templates/CRM/Tag/Form/Tag.tpl b/templates/CRM/Tag/Form/Tag.tpl index 64ccc9707e..bad26d491b 100644 --- a/templates/CRM/Tag/Form/Tag.tpl +++ b/templates/CRM/Tag/Form/Tag.tpl @@ -41,11 +41,11 @@ selected = $("#tagtree").jstree(true).get_selected(true); $.each(selected, function(k, item) { var $tag = $(item.text); - tags.push('' + $tag.text() + ''); + tags.push('' + $tag.text() + ''); }); $('input.crm-contact-tagset').each(function() { $.each($(this).select2('data'), function (i, tag) { - tags.push('' + tag.label + ''); + tags.push('' + tag.label + ''); }); }); // contact summary tabs and search forms both listen for this event diff --git a/templates/CRM/Tag/Form/Tagtree.tpl b/templates/CRM/Tag/Form/Tagtree.tpl index 8f3a1df17e..9c00437c4f 100644 --- a/templates/CRM/Tag/Form/Tagtree.tpl +++ b/templates/CRM/Tag/Form/Tagtree.tpl @@ -28,7 +28,7 @@ {foreach from=$tree item="node" key="id"}
  • - + {$node.name} -- 2.25.1