From f71cfc024b6d66067487bffa858b847106535b3d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 13 Feb 2014 16:26:03 -0800 Subject: [PATCH] Actvity tpl cleanup --- templates/CRM/Activity/Form/Activity.hlp | 6 +++++ templates/CRM/Activity/Form/Activity.tpl | 33 ++++++++++++------------ templates/CRM/Case/Form/Activity.tpl | 19 +++++++------- 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/templates/CRM/Activity/Form/Activity.hlp b/templates/CRM/Activity/Form/Activity.hlp index 483be04aae..08aceb7fca 100644 --- a/templates/CRM/Activity/Form/Activity.hlp +++ b/templates/CRM/Activity/Form/Activity.hlp @@ -29,3 +29,9 @@ {htxt id="id-is_multi_activity"}

{ts}By default a single activity record will be created and linked to all the contacts listed above. However, if you think you might be editing the activity later - and entering different information for different contacts - check this box to create separate activity records.{/ts}

{/htxt} + +{htxt id="assignee_contact_id"} +

+ {ts}You can optionally assign this activity to someone. Assigned activities will appear in their Activities listing at CiviCRM Home.{/ts} +

+{/htxt} diff --git a/templates/CRM/Activity/Form/Activity.tpl b/templates/CRM/Activity/Form/Activity.tpl index 4a4011e796..74c3b4ce3e 100644 --- a/templates/CRM/Activity/Form/Activity.tpl +++ b/templates/CRM/Activity/Form/Activity.tpl @@ -93,22 +93,21 @@ - {$form.assignee_contact_id.label} + + {$form.assignee_contact_id.label} + {edit}{help id="assignee_contact_id" title=$form.assignee_contact_id.label}{/edit} + {$form.assignee_contact_id.html} {if $action neq 4} - -
-
- {/if} -
- {edit} - {ts}You can optionally assign this activity to someone. Assigned activities will appear in their Activities listing at CiviCRM Home.{/ts} + +
+
{if $activityAssigneeNotification} -
{ts}A copy of this activity will be emailed to each Assignee.{/ts} +
+ {ts}A copy of this activity will be emailed to each Assignee.{/ts} {/if} -
- {/edit} + {/if} @@ -229,11 +228,13 @@ {$form.followup_activity_subject.html|crmAddClass:huge} - {$form.followup_assignee_contact_id.label} - {$form.followup_assignee_contact_id.html} - {edit}{ts}You can optionally assign this activity to someone. Assigned activities will appear in their Activities listing at CiviCRM Home.{/ts} - - {/edit} + + {$form.followup_assignee_contact_id.label} + {edit} + {/edit} + + + {$form.followup_assignee_contact_id.html} diff --git a/templates/CRM/Case/Form/Activity.tpl b/templates/CRM/Case/Form/Activity.tpl index ab14e7057c..4816a057d3 100644 --- a/templates/CRM/Case/Form/Activity.tpl +++ b/templates/CRM/Case/Form/Activity.tpl @@ -99,16 +99,15 @@ {$form.source_contact_id.html} - {$form.assignee_contact_id.label} - {$form.assignee_contact_id.html}
- {edit} - - {ts}You can optionally assign this activity to someone.{/ts} - {if $activityAssigneeNotification} -
{ts}A copy of this activity will be emailed to each Assignee.{/ts} - {/if} -
- {/edit} + + {$form.assignee_contact_id.label} + {edit}{help id="assignee_contact_id" title=$form.assignee_contact_id.label file="CRM/Activity/Form/Activity"}{/edit} + + {$form.assignee_contact_id.html} + {if $activityAssigneeNotification} +
+ {ts}A copy of this activity will be emailed to each Assignee.{/ts} + {/if} -- 2.25.1