From 6909a35a4f28e2a036ae33f2a7a045b223e00c4f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 22 Aug 2014 19:28:30 +0200 Subject: [PATCH] Hide users online data list if no members are online --- com.woltlab.wcf/templates/usersOnlineInfoBox.tpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/com.woltlab.wcf/templates/usersOnlineInfoBox.tpl b/com.woltlab.wcf/templates/usersOnlineInfoBox.tpl index 5e6be88120..f4176913be 100644 --- a/com.woltlab.wcf/templates/usersOnlineInfoBox.tpl +++ b/com.woltlab.wcf/templates/usersOnlineInfoBox.tpl @@ -9,11 +9,13 @@

{lang}wcf.user.usersOnline.detail{/lang}{if $usersOnlineShowRecord && USERS_ONLINE_RECORD} - {lang}wcf.user.usersOnline.record{/lang}{/if}

- + {if $usersOnlineList|count} + + {/if} {if USERS_ONLINE_ENABLE_LEGEND && $usersOnlineList->getUsersOnlineMarkings()|count}
-- 2.20.1