From: Matthias Schmidt Date: Fri, 22 Aug 2014 17:28:30 +0000 (+0200) Subject: Hide users online data list if no members are online X-Git-Tag: 2.1.0_Alpha_1~417 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6909a35a4f28e2a036ae33f2a7a045b223e00c4f;p=GitHub%2FWoltLab%2FWCF.git Hide users online data list if no members are online --- 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}