diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl
index e5287406..28368ebf 100644
--- a/ui/ui/user-dashboard.tpl
+++ b/ui/ui/user-dashboard.tpl
@@ -104,19 +104,19 @@
{if $_bill['time'] ne ''}{Lang::dateAndTimeFormat($_bill['expiration'],$_bill['time'])}{/if}
+ {if $nux_ip}
+
+ {Lang::T('Current IP')} |
+ {$nux_ip} |
+
+ {/if}
+ {if $nux_mac}
+
+ {Lang::T('Current MAC')} |
+ {$nux_mac} |
+
+ {/if}
{if $_bill['type'] == 'Hotspot' && $_bill['status'] == 'on'}
- {if $nux_ip}
-
- {Lang::T('Current IP')} |
- {$nux_ip} |
-
- {/if}
- {if $nux_mac}
-
- {Lang::T('Current MAC')} |
- {$nux_mac} |
-
- {/if}
{Lang::T('Login Status')} |
|