From 1d9584647d241dbd8c914881e1c19bfe067f045f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 8 Aug 2015 22:14:22 -0400 Subject: [PATCH] CRM-13301 - Add multilingual popup to participant status label --- CRM/Admin/Form/ParticipantStatusType.php | 2 ++ templates/CRM/Admin/Form/ParticipantStatusType.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Admin/Form/ParticipantStatusType.php b/CRM/Admin/Form/ParticipantStatusType.php index 3aeb59d2c0..714f349e08 100644 --- a/CRM/Admin/Form/ParticipantStatusType.php +++ b/CRM/Admin/Form/ParticipantStatusType.php @@ -58,6 +58,8 @@ class CRM_Admin_Form_ParticipantStatusType extends CRM_Admin_Form { $this->add('text', 'weight', ts('Order'), $attributes['weight'], TRUE); $this->addSelect('visibility_id', array('label' => ts('Visibility'), 'required' => TRUE)); + + $this->assign('id', $this->_id); } /** diff --git a/templates/CRM/Admin/Form/ParticipantStatusType.tpl b/templates/CRM/Admin/Form/ParticipantStatusType.tpl index a50cdc5352..69bde9731d 100644 --- a/templates/CRM/Admin/Form/ParticipantStatusType.tpl +++ b/templates/CRM/Admin/Form/ParticipantStatusType.tpl @@ -45,7 +45,7 @@ - {$form.label.label} + {$form.label.label}{if $action == 2} {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_participant_status_type' field='label' id=$id}{/if} {$form.label.html}
{ts}Display label for this status.{/ts} -- 2.25.1