CRM-13673 - Activity.tpl - Make swap assignee/target button less obtrusive
authorColeman Watts <coleman@civicrm.org>
Tue, 29 Oct 2013 20:26:47 +0000 (13:26 -0700)
committerColeman Watts <coleman@civicrm.org>
Tue, 29 Oct 2013 20:26:47 +0000 (13:26 -0700)
templates/CRM/Activity/Form/Activity.tpl

index 88abbdff6d4f54d2fb507da14db4f071590658d8..de2ff09decd8bdaa72715fb1b80dc8aa42a05422 100644 (file)
     {/if}
   </tr>
 
-  {if $action neq 4}
-    <tr class="crm-activity-form-block-swap_target_assignee">
-      <td class="label"></td>
-      <td>
-        <a href="#" class="button" id="swap_target_assignee">
-          <span>
-            <div class="icon swap-icon"></div>{ts}Swap Target and Assignee Contacts{/ts}
-          </span>
-        </div>
-      </td>
-    </tr>
-  {/if}
-
   <tr class="crm-activity-form-block-assignee_contact_id">
     {if $action eq 4}
       <td class="label">{ts}Assigned To{/ts}</td><td class="view-value">
     </td>
       {else}
       <td class="label">{ts}Assigned To{/ts}</td>
-      <td>{$form.assignee_contact_id.html}
+      <td>
+        <a href="#" class="button" id="swap_target_assignee" title="{ts}Swap Target and Assignee Contacts{/ts}" style="float:right;">
+          <span>
+            <div class="icon swap-icon"></div>
+          </span>
+        </a>
+        {$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 $activityAssigneeNotification}