From: Eileen McNaughton Date: Sun, 19 Sep 2021 21:14:29 +0000 (+1200) Subject: Tpl enotice fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5bec6ba446480e1b6550df16f30cea0a466e59af;p=civicrm-core.git Tpl enotice fixes --- diff --git a/templates/CRM/Contribute/Form/Selector.tpl b/templates/CRM/Contribute/Form/Selector.tpl index dde319b318..44eb77bfaf 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -25,7 +25,7 @@ {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} - {else} + {elseif (!empty($header.name))} {$header.name} {/if} @@ -48,7 +48,7 @@   {$row.total_amount|crmMoney:$row.currency} - {if $row.amount_level }
({$row.amount_level}){/if} + {if !empty($row.amount_level) }
({$row.amount_level}){/if} {if $row.contribution_recur_id && $row.is_template}
{ts}(Recurring Template){/ts} {elseif $row.contribution_recur_id } @@ -68,7 +68,7 @@ {/if} {else} - {if $column.type == 'date'} + {if isset($column.type) && $column.type == 'date'} {$row.$columnName|crmDate}