{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
{if $cdType }
{include file="CRM/Custom/Form/CustomData.tpl"}
{else}
-<h3>{if $action eq 1 or $action eq 1024}
- {ts 1=$activityTypeName}New activity: %1{/ts}
- {elseif $action eq 8}{ts 1=$activityTypeName}Delete %1{/ts}
- {elseif $action eq 32768}{ts 1=$activityTypeName}Restore %1{/ts}
- {else}{ts 1=$activityTypeName}Edit %1{/ts}{/if}
-</h3>
<div class="crm-block crm-form-block crm-case-activity-form-block">
{if $action neq 8 and $action neq 32768 }
<tr class="crm-case-activity-form-block-target_contact_id hide-block" id="with-contacts-widget">
<td class="label font-size10pt">{ts}With Contact{/ts}</td>
<td class="view-value">
- {include file="CRM/Contact/Form/NewContact.tpl" noLabel=true skipBreak=true multiClient=true}
+ {$form.target_contact_id.html}
<br/>
<a href="#" class="crm-with-contact">
» {if not $multiClient}{ts}With client{/ts}{else}{ts}With client(s){/ts}{/if}
</tr>
<tr class="crm-case-activity-form-block-source_contact_id">
<td class="label">{$form.source_contact_id.label}</td>
- <td class="view-value"> {if $admin}{$form.source_contact_id.html}{/if}</td>
+ <td class="view-value">{$form.source_contact_id.html}</td>
</tr>
<tr class="crm-case-activity-form-block-assignee_contact_id">
- <td class="label">{ts}Assigned To{/ts}</td>
- <td>{$form.assignee_contact_id.html}<br />
- {edit}
- <span class="description">
- {ts}You can optionally assign this activity to someone.{/ts}
- {if $activityAssigneeNotification}
- <br />{ts}A copy of this activity will be emailed to each Assignee.{/ts}
- {/if}
- </span>
- {/edit}
+ <td class="label">
+ {$form.assignee_contact_id.label}
+ {edit}{help id="assignee_contact_id" title=$form.assignee_contact_id.label file="CRM/Activity/Form/Activity"}{/edit}
+ </td>
+ <td>{$form.assignee_contact_id.html}
+ {if $activityAssigneeNotification}
+ <br />
+ <span class="description"><span class="icon email-icon"></span>{ts}A copy of this activity will be emailed to each Assignee.{/ts}</span>
+ {/if}
</td>
</tr>
<td class="label">{$form.followup_activity_subject.label}</td>
<td>{$form.followup_activity_subject.html|crmAddClass:huge}</td>
</tr>
+ <tr>
+ <td class="label">
+ {$form.followup_assignee_contact_id.label}
+ {edit}
+ {/edit}
+ </td>
+ <td>
+ {$form.followup_assignee_contact_id.html}
+ </td>
+ </tr>
</table>
</div><!-- /.crm-accordion-body -->
</div><!-- /.crm-accordion-wrapper -->
<td class="label">{$form.duration.label}</td>
<td class="view-value">
{$form.duration.html}
- <span class="description">{ts}Total time spent on this activity (in minutes).{/ts}
+ <span class="description">{ts}minutes{/ts}
</td>
</tr>
{* Suppress activity status and priority for changes to status, case type and start date. PostProc will force status to completed. *}
{include file="CRM/common/customData.tpl"}
{literal}
<script type="text/javascript">
- cj(function() {
+ CRM.$(function($) {
{/literal}
{if $customDataSubType}
CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
{if $action eq 2 or $action eq 1}
{literal}
<script type="text/javascript">
- cj(function( ) {
+ CRM.$(function($) {
cj('.crm-with-contact').click(function(){
cj('#with-contacts-widget').toggle();
cj('#with-clients').toggle();
+ return false;
});
});
</script>