mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-02 23:20:08 +00:00
Hide suspension filter if no items are displayed
This commit is contained in:
parent
7aba4d17f2
commit
49ff71e8ee
@ -13,7 +13,8 @@
|
||||
<h1>{lang}chat.acp.suspension.list{/lang}</h1>
|
||||
</header>
|
||||
|
||||
<form method="post" action="{link controller='ChatSuspensionList' application='chat'}{/link}">
|
||||
{if $objects|count}
|
||||
<form method="post" action="{link controller='ChatSuspensionList' application='chat'}{/link}">
|
||||
<div class="container containerPadding marginTop">
|
||||
<fieldset>
|
||||
<legend>{lang}wcf.global.filter{/lang}</legend>
|
||||
@ -62,9 +63,8 @@
|
||||
<div class="formSubmit">
|
||||
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
{if $objects|count}
|
||||
<div class="tabularBox tabularBoxTitle marginTop">
|
||||
<header>
|
||||
<h2>{lang}chat.acp.suspension.list{/lang} <span class="badge badgeInverse">{#$items}</span></h2>
|
||||
|
Loading…
Reference in New Issue
Block a user