Skip to content

Commit

Permalink
Merge pull request #28036 from demeritcowboy/case-edit
Browse files Browse the repository at this point in the history
dev/core#4755 - typo causes activity type to go missing on case activity edit
  • Loading branch information
colemanw authored Nov 7, 2023
2 parents 944a743 + bb80544 commit 455c006
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/CRM/Case/Form/Activity.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
<div class="messages status no-popup">
<i class="crm-i fa-info-circle" aria-hidden="true"></i> &nbsp;
{if $action eq 8}
{* activityTypeName means label here not name, but it's ok because label is desired here (dev/core#1116-ok-label) *}
{ts 1=$activityTypeNameAndLabel.displayLabel|escape}Click Delete to move this &quot;%1&quot; activity to the Trash.{/ts}
{else}
{* activityTypeName means label here not name, but it's ok because label is desired here (dev/core#1116-ok-label) *}
{ts 1=$activityTypeNameAndLabel.displayLabel|escape}Click Restore to retrieve this &quot;%1&quot; activity from the Trash.{/ts}
{/if}
</div><br />
Expand Down Expand Up @@ -89,8 +87,7 @@

<tr class="crm-case-activity-form-block-activityTypeName">
<td class="label">{ts}Activity Type{/ts}</td>
{* activityTypeName means label here not name, but it's ok because label is desired here (dev/core#1116-ok-label) *}
<td class="view-value bold">{$activityTypeNameAndLabel.label|escape}</td>
<td class="view-value bold">{$activityTypeNameAndLabel.displayLabel|escape}</td>
</tr>
<tr class="crm-case-activity-form-block-source_contact_id">
<td class="label">{$form.source_contact_id.label}</td>
Expand Down

0 comments on commit 455c006

Please sign in to comment.