Update user-dashboard.tpl

add condition to display service type
This commit is contained in:
Focuslinkstech 2023-12-14 10:21:27 +01:00
parent a7a0f84df5
commit c1f04c17a5

View File

@ -76,8 +76,16 @@
</tr>
<tr>
<td class="small text-success text-uppercase text-normal">{Lang::T('Service Type')}</td>
<td class="small mb15">{$_user['service_type']}</td>
</tr>
<td class="small mb15">
{if $_user.service_type == 'Hotspot'}
Hotspot
{elseif $_user.service_type == 'PPPoE'}
PPPoE
{elseif $_user.service_type == 'Other' || $_user.service_type == null}
Others
{/if}
</td>
</tr>
{if $_c['enable_balance'] == 'yes'}
<tr>
@ -277,4 +285,4 @@
{/if}
</div>
</div>
{include file="sections/user-footer.tpl"}
{include file="sections/user-footer.tpl"}