Skip to content

Commit

Permalink
Merge pull request #22530 from eileenmcnaughton/category
Browse files Browse the repository at this point in the history
Remove category from case activity template
  • Loading branch information
demeritcowboy authored Jan 17, 2022
2 parents e392f28 + 9165149 commit 9b1fae0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xml/templates/message_templates/case_activity_html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{foreach from=$activity.fields item=field}
<tr>
<td {$labelStyle}>
{$field.label}{if !empty($field.category)}({$field.category}){/if}
{$field.label}
</td>
<td {$valueStyle}>
{if $field.type eq 'Date'}
Expand Down
4 changes: 2 additions & 2 deletions xml/templates/message_templates/case_activity_text.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 9b1fae0

Please sign in to comment.