CRM-14383 - Update cj closures
[civicrm-core.git] / templates / CRM / Case / Form / Activity.tpl
index e9420d4eb01a6394d3ec8d0c79773897d58d7193..f5c044f6c8cb0e94f96615d7dea211d170223a57 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | 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 }
               <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 -->
   {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();