Actvity tpl cleanup
authorColeman Watts <coleman@civicrm.org>
Fri, 14 Feb 2014 00:26:03 +0000 (16:26 -0800)
committerColeman Watts <coleman@civicrm.org>
Fri, 14 Feb 2014 00:36:46 +0000 (16:36 -0800)
templates/CRM/Activity/Form/Activity.hlp
templates/CRM/Activity/Form/Activity.tpl
templates/CRM/Case/Form/Activity.tpl

index 483be04aaeb30fd63e5800c354ed9e52a7e9e4fd..08aceb7fcafbf2b0fc4a4ff1229fbb3a982fc244 100644 (file)
@@ -29,3 +29,9 @@
 {htxt id="id-is_multi_activity"}
   <p>{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}</p>
 {/htxt}
+
+{htxt id="assignee_contact_id"}
+  <p>
+    {ts}You can optionally assign this activity to someone. Assigned activities will appear in their Activities listing at CiviCRM Home.{/ts}
+  </p>
+{/htxt}
index 4a4011e796d28b45005ec987b6c4f193d626d80b..74c3b4ce3ecbf26df1b158a81bb760cfff1ac93a 100644 (file)
   </tr>
 
   <tr class="crm-activity-form-block-assignee_contact_id">
-      <td class="label">{$form.assignee_contact_id.label}</td>
+      <td class="label">
+        {$form.assignee_contact_id.label}
+        {edit}{help id="assignee_contact_id" title=$form.assignee_contact_id.label}{/edit}
+      </td>
       <td>
         {$form.assignee_contact_id.html}
         {if $action neq 4}
-        <a href="#" class="crm-hover-button" id="swap_target_assignee" title="{ts}Swap Target and Assignee Contacts{/ts}" style="position:relative; bottom: 1em;">
-          <span><div class="icon swap-icon"></div></span>
-        </a>
-        {/if}
-        <br />
-        {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}
+          <a href="#" class="crm-hover-button" id="swap_target_assignee" title="{ts}Swap Target and Assignee Contacts{/ts}" style="position:relative; bottom: 1em;">
+            <span><div class="icon swap-icon"></div></span>
+          </a>
           {if $activityAssigneeNotification}
-            <br />{ts}A copy of this activity will be emailed to each Assignee.{/ts}
+            <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}
-          </span>
-        {/edit}
+        {/if}
       </td>
   </tr>
 
               <td>{$form.followup_activity_subject.html|crmAddClass:huge}</td>
             </tr>
               <tr>
-                  <td class="label">{$form.followup_assignee_contact_id.label}</td>
-                  <td>{$form.followup_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}
-                          </span>
-                      {/edit}
+                  <td class="label">
+                    {$form.followup_assignee_contact_id.label}
+                    {edit}
+                    {/edit}
+                  </td>
+                  <td>
+                    {$form.followup_assignee_contact_id.html}
                   </td>
               </tr>
           </table>
index ab14e7057c8e239e7576072401cdbd486fd8f638..4816a057d38cb30526c59a05996ce44799b49e07 100644 (file)
       <td class="view-value">{$form.source_contact_id.html}</td>
     </tr>
     <tr class="crm-case-activity-form-block-assignee_contact_id">
-      <td class="label">{$form.assignee_contact_id.label}</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>