Hide special trophies in quick reply
authorJoshua Rüsweg <josh@bastelstu.be>
Tue, 1 Aug 2017 12:01:55 +0000 (14:01 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Tue, 1 Aug 2017 12:01:55 +0000 (14:01 +0200)
See #2315

com.woltlab.wcf/templates/messageSidebar.tpl

index 184dad670cba425c1b62895e264d26609a17ef5c..f9ccc323b42d9f84cb2d65705a2adb2ea4ba4949 100644 (file)
@@ -45,7 +45,7 @@
                                {/if}
                        {/if}
 
-                       {if MODULE_TROPHY && $__wcf->session->getPermission('user.profile.trophy.canSeeTrophies') && ($userProfile->isAccessible('canViewTrophies') || $userProfile->userID == $__wcf->session->userID) && $userProfile->getSpecialTrophies()|count}
+                       {if !$isReply && MODULE_TROPHY && $__wcf->session->getPermission('user.profile.trophy.canSeeTrophies') && ($userProfile->isAccessible('canViewTrophies') || $userProfile->userID == $__wcf->session->userID) && $userProfile->getSpecialTrophies()|count}
                                <div class="specialTrophyContainer">
                                        <ul>
                                                {foreach from=$userProfile->getSpecialTrophies() item=trophy}