Skip to content

Commit

Permalink
当限制ip为0时显示不限制
Browse files Browse the repository at this point in the history
  • Loading branch information
NimaQu committed Mar 29, 2018
1 parent 338a29b commit c9d31e6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions resources/views/material/user/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,13 @@
{else}
<dd><i class="icon icon-md">settings_input_component</i>&nbsp;不限速</dd>
{/if}</p>
<p><dt>在线设备数</dt>
<dd><i class="icon icon-md">phonelink</i>&nbsp;{$user->online_ip_count()} / {$user->node_connector}</dd></p>
<p><dt>在线设备数</dt>
{if $user->node_connector!=0}
<dd><i class="icon icon-md">phonelink</i>&nbsp;{$user->online_ip_count()} / {$user->node_connector}</dd>
{else}
<dd><i class="icon icon-md">phonelink</i>&nbsp;{$user->online_ip_count()} / 不限制 </dd>
{/if}
</p>
<p><dt>余额</dt>
<dd><i class="icon icon-md">monetization_on</i>&nbsp;{$user->money} CNY</dd></p>
<p><dt>上次使用</dt>
Expand Down

0 comments on commit c9d31e6

Please sign in to comment.