Include Hold date in the display of Emails on contact records to show when the addres...
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 6 Oct 2015 03:23:50 +0000 (03:23 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 6 Oct 2015 03:23:50 +0000 (03:23 +0000)
templates/CRM/Contact/Page/Inline/Email.tpl

index 25b17e2aa0f6b2a8c0fac200229ef43856883dec..b85f12450224267813357c98da57df1a70de8bf1 100644 (file)
@@ -61,7 +61,7 @@
         {else}
           {$item.email}
         {/if}
-        {if $item.on_hold == 2}&nbsp;({ts}On Hold - Opt Out{/ts}){elseif $item.on_hold}&nbsp;({ts}On Hold{/ts}){/if}{if $item.is_bulkmail}&nbsp;({ts}Bulk{/ts}){/if}
+        {if $item.on_hold == 2}&nbsp;({ts}On Hold - Opt Out{/ts}){elseif $item.on_hold}&nbsp;({ts}On Hold{/ts})&nbsp;{ts}{$item.hold_date|truncate:10:''|crmDate}{/ts}{/if}{if $item.is_bulkmail}&nbsp;({ts}Bulk{/ts}){/if}
         {if $item.signature_text OR $item.signature_html}
         <span class="signature-link description">
           <a href="#" title="{ts}Signature{/ts}" onClick="showHideSignature( '{$blockId}' ); return false;">{ts}(signature){/ts}</a>