David Duarte Posted August 4, 2018 Share Posted August 4, 2018 Hello there, We think that's not useful to display the auto renew option as ON for cancelled/expired domains on client area. In fact this can be pretty confuse for customers. If you prefer to show just the domain status for cancelled/expired domains, just do the following: file: templatename/clientareadomains.tpl replace: <td> {if $domain.autorenew} <i class="fas fa-fw fa-check text-success"></i> {$LANG.domainsautorenewenabled} {else} <i class="fas fa-fw fa-times text-danger"></i> {$LANG.domainsautorenewdisabled} {/if} </td> by: <td> if $domain.status eq 'Active'} {if $domain.autorenew} <i class="fas fa-fw fa-check text-success"></i> {$LANG.domainsautorenewenabled} {else} <i class="fas fa-fw fa-times text-danger"></i> {$LANG.domainsautorenewdisabled} {/if} {else}<i class="fas fa-fw fa-times text-muted"></i> {$LANG.domainsautorenewdisabled} {/if} </td> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.