Skip to content
Snippets Groups Projects
Commit 75a0f31e authored by lobo's avatar lobo
Browse files

Merge pull request #407 from lcdservices/4.3

CRM-12334 set assignee notification in smarty
parents 1f2a4aec 6db7e202
Branches
Tags
No related merge requests found
......@@ -885,6 +885,12 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
$this->addFormRule(array('CRM_Activity_Form_Activity', 'formRule'), $this);
if ( CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'activity_assignee_notification' )
) {
$this->assign('activityAssigneeNotification', true);
}
}
/**
......
......@@ -163,7 +163,7 @@
<td>{$form.assignee_contact_id.html}
{edit}
<span class="description">{ts}You can optionally assign this activity to someone. Assigned activities will appear in their Activities listing at CiviCRM Home.{/ts}
{if $config->activityAssigneeNotification}
{if $activityAssigneeNotification}
<br />{ts}A copy of this activity will be emailed to each Assignee.{/ts}
{/if}
</span>
......
......@@ -147,7 +147,7 @@
{edit}
<span class="description">
{ts}You can optionally assign this activity to someone.{/ts}
{if $config->activityAssigneeNotification}
{if $activityAssigneeNotification}
<br />{ts}A copy of this activity will be emailed to each Assignee.{/ts}
{/if}
</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment