1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-07 00:00:09 +00:00

Hide suspension filter if no items are displayed

This commit is contained in:
Tim Düsterhus 2013-06-16 19:46:30 +02:00
parent 7aba4d17f2
commit 49ff71e8ee

View File

@ -13,6 +13,7 @@
<h1>{lang}chat.acp.suspension.list{/lang}</h1> <h1>{lang}chat.acp.suspension.list{/lang}</h1>
</header> </header>
{if $objects|count}
<form method="post" action="{link controller='ChatSuspensionList' application='chat'}{/link}"> <form method="post" action="{link controller='ChatSuspensionList' application='chat'}{/link}">
<div class="container containerPadding marginTop"> <div class="container containerPadding marginTop">
<fieldset> <fieldset>
@ -64,7 +65,6 @@
</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>