Skip to content

Commit

Permalink
Merge pull request #27498 from eileenmcnaughton/activity_label
Browse files Browse the repository at this point in the history
Switch templates to use correctly named variable
  • Loading branch information
mattwire authored Oct 27, 2023
2 parents 5c2eb16 + 9b4ed82 commit e90b225
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/CRM/Case/Form/Activity.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<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=$activityTypeName}Click Delete to move this &quot;%1&quot; activity to the Trash.{/ts}
{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=$activityTypeName}Click Restore to retrieve this &quot;%1&quot; activity from the Trash.{/ts}
{ts 1=$activityTypeNameAndLabel.displayLabel|escape}Click Restore to retrieve this &quot;%1&quot; activity from the Trash.{/ts}
{/if}
</div><br />
{else}
Expand Down Expand Up @@ -90,7 +90,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">{$activityTypeName|escape}</td>
<td class="view-value bold">{$activityTypeNameAndLabel.label|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 e90b225

Please sign in to comment.