From 916514912c1cb70108f329c45210d29d57de404c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 17 Jan 2022 13:20:08 +1300 Subject: [PATCH] Remove category from case activity template --- xml/templates/message_templates/case_activity_html.tpl | 2 +- xml/templates/message_templates/case_activity_text.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/templates/message_templates/case_activity_html.tpl b/xml/templates/message_templates/case_activity_html.tpl index 00c667f7b7..6c4e30ee98 100644 --- a/xml/templates/message_templates/case_activity_html.tpl +++ b/xml/templates/message_templates/case_activity_html.tpl @@ -60,7 +60,7 @@ {foreach from=$activity.fields item=field} - {$field.label}{if !empty($field.category)}({$field.category}){/if} + {$field.label} {if $field.type eq 'Date'} diff --git a/xml/templates/message_templates/case_activity_text.tpl b/xml/templates/message_templates/case_activity_text.tpl index 430d061f36..685848c830 100644 --- a/xml/templates/message_templates/case_activity_text.tpl +++ b/xml/templates/message_templates/case_activity_text.tpl @@ -17,9 +17,9 @@ {foreach from=$activity.fields item=field} {if $field.type eq 'Date'} -{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime} +{$field.label} : {$field.value|crmDate:$config->dateformatDatetime} {else} -{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value} +{$field.label} : {$field.value} {/if} {/foreach} -- 2.25.1