Skip to content

Commit

Permalink
Merge pull request #2466 from 77-QiQi/uim
Browse files Browse the repository at this point in the history
[Uim] Update user server page
  • Loading branch information
Anankke authored Sep 26, 2024
2 parents c2f82de + 62462b8 commit 49fc897
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions resources/views/tabler/user/server.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,16 @@
{if $server['connection_type'] !== 0}
<span class="badge bg-blue-lt">IPv6</span>
{/if}
{if $user->class < $server['class']}
<span class="badge bg-red-lt">无权限</span>
<span class="badge bg-pink-lt">当前账户等级小于节点等级</span>
<span class="badge bg-green-lt">前往 <a href="/user/product">商品页面</a> 订购时间流量包</span>
{/if}
</div>
</div>

</div>
</div>
</div>
{if $user->class < $server['class']}
<div class="card bg-primary-lt">
<div class="card-body">
<p class="text-secondary">
<i class="ti ti-info-circle icon text-blue"></i>
你当前的账户等级小于节点等级,因此无法使用。可前往 <a
href="/user/product">商品页面</a> 订购时间流量包
</p>
</div>
</div>
{/if}
</div>
{/foreach}
</div>
Expand Down

0 comments on commit 49fc897

Please sign in to comment.