CRM-16854 - ensure open case activities can have notes changed.
authorJamie McClelland <jm@mayfirst.org>
Fri, 17 Jul 2015 16:21:44 +0000 (12:21 -0400)
committerJamie McClelland <jm@mayfirst.org>
Fri, 17 Jul 2015 16:21:44 +0000 (12:21 -0400)
templates/CRM/Case/Form/Activity.tpl

index ff8de35be0b2a8497ddb5b1d8fe9fced4e19e702..98414a9ec1a09bb2497d9e4ab8b3038a57669afe 100644 (file)
                   <td class="view-value">{include file="CRM/common/jcalendar.tpl" elementName=activity_date_time}</td>
                 {/if}
               </tr>
+              {if $action eq 2 && $activityTypeFile eq 'OpenCase'}
+              <tr class="crm-case-activity-form-block-details">
+                <td class="label">{ts}Notes{/ts}</td>
+                <td class="view-value">
+                  {* If using plain textarea, assign class=huge to make input large enough. *}
+                  {if $defaultWysiwygEditor eq 0}{$form.details.html|crmAddClass:huge}{else}{$form.details.html}{/if}
+                </td>
+              </tr>
+              {/if}
               <tr>
                 <td colspan="2"><div id="customData"></div></td>
               </tr>