From 5190792bf5de47c39634433e351dba7feaa2fa0c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 8 Sep 2019 19:51:53 +0200 Subject: [PATCH] Hide reaction filter in user profile in only one reaction exists --- com.woltlab.wcf/templates/userProfileLikes.tpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/com.woltlab.wcf/templates/userProfileLikes.tpl b/com.woltlab.wcf/templates/userProfileLikes.tpl index 260c314460..1a51843592 100644 --- a/com.woltlab.wcf/templates/userProfileLikes.tpl +++ b/com.woltlab.wcf/templates/userProfileLikes.tpl @@ -16,11 +16,13 @@
  • {lang}wcf.like.reactionsGiven{/lang}
  • - + {if $__wcf->getReactionHandler()->getReactionTypes()|count > 1} + + {/if} {include file='userProfileLikeItem'} -- 2.20.1