From: Matthias Schmidt Date: Sun, 8 Sep 2019 17:51:53 +0000 (+0200) Subject: Hide reaction filter in user profile in only one reaction exists X-Git-Tag: 5.2.0_Beta_2~67 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5190792bf5de47c39634433e351dba7feaa2fa0c;p=GitHub%2FWoltLab%2FWCF.git Hide reaction filter in user profile in only one reaction exists --- 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'}