don't create tagset markup if there's no tagset
authorNoah Miller <nm@lemnisc.us>
Mon, 20 Mar 2023 23:54:53 +0000 (19:54 -0400)
committerNoah Miller <nm@lemnisc.us>
Mon, 20 Mar 2023 23:54:53 +0000 (19:54 -0400)
templates/CRM/Case/Form/Activity.tpl
templates/CRM/Case/Form/Case.tpl

index cf24faa2819217731e120daa928cf9a098d3b7ca..9087752740e797778ae52f18fb4866f180c9412e 100644 (file)
       </td>
     </tr>
     {/if}
+{if $isTagset}
   <tr class="crm-case-activity-form-block-tag_set"><td colspan="2">{include file="CRM/common/Tagset.tpl" tagsetType='activity'}</td></tr>
+{/if}
   </table>
 
   {/if}
index 9f53ea070835bef6533daa823ac36f67338017a3..fb40297d4a3ad17f909efbf5c2df34458f7ed8be 100644 (file)
     </td>
 </tr>
 
+{if $isTagset}
 <tr class="crm-case-form-block-tag_set">
     {include file="CRM/common/Tagset.tpl" tagsetType='case' tableLayout=true}
 </tr>
+{/if}
 
 </table>
 {/if}