noexpand seems to never be assigned
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 17 Jan 2022 08:35:06 +0000 (21:35 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 22 Mar 2022 20:48:12 +0000 (09:48 +1300)
templates/CRM/Form/attachment.tpl

index 86cade7e562bb926554a8f86be0502ec1c409205..234880aa819d063d9342514c655b9fae2d0b58e2 100644 (file)
     {else}
       {capture assign=attachTitle}{ts}Attachment(s){/ts}{/capture}
     {/if}
-    {if empty($noexpand)}
     <div class="crm-accordion-wrapper {if (empty($context) || $context NEQ 'pcpCampaign') AND empty($currentAttachmentInfo)}collapsed{/if}">
-       <div class="crm-accordion-header">
-          {$attachTitle}
-      </div><!-- /.crm-accordion-header -->
-     <div class="crm-accordion-body">
-     {/if}
+     <div class="crm-accordion-header">
+      {$attachTitle}
+     </div><!-- /.crm-accordion-header -->
+    <div class="crm-accordion-body">
     <div id="attachments">
       <table class="form-layout-compressed">
       {if !empty($form.attachFile_1)}