Uncategorized

SugarCRM: Higlight Invalid Emails

line-throughline-through

 

/var/www/html/master/include/SugarEmailAddress/templates/forDetailView.tpl

Around line 42

 

<td style=”border:none;”>
{if $address.key === ‘opt_out’}
<span style=”text-decoration: line-through; background: rgba(255, 255, 0, 0.3)”>
{elseif $address.key === ‘invalid’}
<span style=”text-decoration: line-through; background: rgba(255, 0, 0, 0.3)”>
{elseif $address.key === ‘opt_out_invalid’}
<span style=”text-decoration: line-through; background: rgba(255, 0, 0, 0.3)”>
{elseif $address.key === ‘primary’}
<b>
{elseif $address.key === ‘reply_to’ && $item.key != 0}
<i>
{/if}

{$address.address}

{if $address.key === ‘primary’}
</b>&nbsp;<i>&#x28;{$app_strings.LBL_EMAIL_PRIMARY}&#x29;&#x200E;</i>
{elseif $address.key === ‘reply_to’}
&nbsp;<i>&#x28;{$app_strings.LBL_EMAIL_REPLY_TO}&#x29;&#x200E;</i>
{elseif $address.key === ‘opt_out’}
</span>&nbsp;<i class=’error’>&#x28;{$app_strings.LBL_EMAIL_OPT_OUT}&#x29;&#x200E;</i>
{elseif $address.key === ‘invalid’}
</span>&nbsp;<i>({$app_strings.LBL_EMAIL_INVALID}&#x29;&#x200E;</i>
{elseif $address.key === ‘opt_out_invalid’}
</span>&nbsp;<i class=’error’>&#x28;{$app_strings.LBL_EMAIL_OPT_OUT_AND_INVALID}&#x29;&#x200E;</i>
{/if}
</td>

To Edit on the Emails on the List view, you can start on:

/var/www/html/master/include/SubPanel/SubPanelDynamic.html

Around line 52

dfdf

{CELL}

Attachments:

Leave a Reply

Your email address will not be published. Required fields are marked *