mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-04 23:40: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>
|
<h1>{lang}chat.acp.suspension.list{/lang}</h1>
|
||||||
</header>
|
</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">
|
<div class="container containerPadding marginTop">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{lang}wcf.global.filter{/lang}</legend>
|
<legend>{lang}wcf.global.filter{/lang}</legend>
|
||||||
@ -62,9 +63,8 @@
|
|||||||
<div class="formSubmit">
|
<div class="formSubmit">
|
||||||
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
|
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{if $objects|count}
|
|
||||||
<div class="tabularBox tabularBoxTitle marginTop">
|
<div class="tabularBox tabularBoxTitle marginTop">
|
||||||
<header>
|
<header>
|
||||||
<h2>{lang}chat.acp.suspension.list{/lang} <span class="badge badgeInverse">{#$items}</span></h2>
|
<h2>{lang}chat.acp.suspension.list{/lang} <span class="badge badgeInverse">{#$items}</span></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user