CRM-16020: fix invalid HTML in templates/CRM/Case/Form/Activity.tpl.
authorMathieu Lutfy <mathieu@bidon.ca>
Fri, 27 Feb 2015 00:09:34 +0000 (19:09 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Fri, 27 Feb 2015 00:09:34 +0000 (19:09 -0500)
templates/CRM/Case/Form/Activity.tpl

index b8cbf127e83763710d508d83886f4b8eed919fc7..c0535bdbd3425be447fbb6ed82586040cc19dde9 100644 (file)
@@ -76,6 +76,9 @@
               {ts}Activity Details{/ts}
             </div><!-- /.crm-accordion-header -->
             <div class="crm-accordion-body">
+    {else}
+      <tr class="crm-case-activity-form-block-activity-details">
+        <td colspan="2">
     {/if}
     {* End block for change status, case type and start date. *}
             <table class="form-layout-compressed">
               <td class="label">{$form.followup_activity_subject.label}</td>
               <td>{$form.followup_activity_subject.html|crmAddClass:huge}</td>
             </tr>
-      <tr>
+            <tr>
               <td class="label">
                 {$form.followup_assignee_contact_id.label}
                 {edit}
     {if $activityTypeFile NEQ 'ChangeCaseStatus'
     && $activityTypeFile NEQ 'ChangeCaseType'
     && $activityTypeFile NEQ 'ChangeCaseStartDate'}
-    <table class="form-layout-compressed">
-      <tr class="crm-case-activity-form-block-status_id">
-        <td class="label">{$form.status_id.label}</td><td class="view-value">{$form.status_id.html}</td>
-      </tr>
-      <tr class="crm-case-activity-form-block-priority_id">
-        <td class="label">{$form.priority_id.label}</td><td class="view-value">{$form.priority_id.html}</td>
+      <tr>
+        <td colspan="2">
+          <table class="form-layout-compressed">
+            <tr class="crm-case-activity-form-block-status_id">
+              <td class="label">{$form.status_id.label}</td><td class="view-value">{$form.status_id.html}</td>
+            </tr>
+            <tr class="crm-case-activity-form-block-priority_id">
+              <td class="label">{$form.priority_id.label}</td><td class="view-value">{$form.priority_id.html}</td>
+            </tr>
+          </table>
+        </td>
       </tr>
-    </table>
     {/if}
     {if $form.tag.html}
     <tr class="crm-case-activity-form-block-tag">