dev/core#4886 fix syntax error in contact summary template
authoreileen <emcnaughton@wikimedia.org>
Thu, 4 Jan 2024 19:27:59 +0000 (08:27 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 4 Jan 2024 19:29:30 +0000 (08:29 +1300)
templates/CRM/Contact/Import/Form/Summary.tpl

index f0d6368f62fe543bc070d80fb727f1f84003b07d..0fa34e259e0b5d810b0882e2673a0b380d063cdb 100644 (file)
     {if $groupAdditions}
     <tr><td class="label crm-grid-cell">{ts}Import to Groups{/ts}</td>
         <td colspan="2" class="explanation">
-            {foreach from="$groupAdditions" item="group"}
+            {foreach from=$groupAdditions item="group"}
                 <label><a href="{$group.url}">{$group.name}</a></label>:
                 {if $group.new}
                     {ts count=$group.added plural='%count contacts added to this new group.'}One contact added to this new group.{/ts}
     {if $tagAdditions}
     <tr><td class="label crm-grid-cell">{ts}Tagged Imported Contacts{/ts}</td>
         <td colspan="2" class="explanation">
-            {foreach from="$tagAdditions" item="tag"}
+            {foreach from=$tagAdditions item="tag"}
                 <label>{$tag.name}</label>:
                 {ts count=$tag.added plural='%count contacts are tagged with this tag.'}One contact is tagged with this tag.{/ts}
                 {if $tag.notAdded}{ts count=$tag.notAdded plural='%count contacts NOT tagged (already tagged to this tag).'}One contact NOT tagged (already tagged to this tag).{/ts}{/if}<br />