Remove like counter for related articles
authorJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 10:59:53 +0000 (12:59 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 10:59:53 +0000 (12:59 +0200)
See #2508

com.woltlab.wcf/templates/article.tpl

index d1ab534bfd62cac81613c4c95f0b1e7dc84b2127..20eb88b0b4f96a6d62fa5feefecce2826a99d628 100644 (file)
                                                                                        {lang article=$relatedArticle}wcf.article.articleComments{/lang}
                                                                                </li>
                                                                        {/if}
-                                                                       
-                                                                       {if MODULE_LIKE && $__wcf->getSession()->getPermission('user.like.canViewLike')}
-                                                                               <li class="wcfLikeCounter{if $relatedArticle->cumulativeLikes > 0} likeCounterLiked{elseif $relatedArticle->cumulativeLikes < 0}likeCounterDisliked{/if}">
-                                                                                       {if $relatedArticle->likes || $relatedArticle->dislikes}
-                                                                                               <span class="icon icon16 fa-thumbs-o-{if $relatedArticle->cumulativeLikes < 0}down{else}up{/if} jsTooltip" title="{lang likes=$relatedArticle->likes dislikes=$relatedArticle->dislikes}wcf.like.tooltip{/lang}"></span>{if $relatedArticle->cumulativeLikes > 0}+{elseif $relatedArticle->cumulativeLikes == 0}&plusmn;{/if}{#$relatedArticle->cumulativeLikes}
-                                                                                       {/if}
-                                                                               </li>
-                                                                       {/if}
                                                                </ul>
                                                        </div>