Removed the display of cumulative likes
authorAlexander Ebert <ebert@woltlab.com>
Wed, 10 Jul 2019 20:41:37 +0000 (22:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 10 Jul 2019 20:41:37 +0000 (22:41 +0200)
See WoltLab/WCF#2974

com.woltlab.wcf/templates/boxArticleList.tpl

index c639d38c59caaea6481733314bc358869f1d997f..da599cd704b76a63f83fbbfd81a1c08e456f6f98 100644 (file)
                                                                {lang article=$boxArticle}wcf.article.articleViews{/lang}
                                                        {elseif $boxSortField == 'comments'}
                                                                {$boxArticle->getDiscussionProvider()->getDiscussionCountPhrase()}
-                                                       {elseif $boxSortField == 'cumulativeLikes'}
-                                                               {if MODULE_LIKE && $__wcf->getSession()->getPermission('user.like.canViewLike') && ($boxArticle->likes || $boxArticle->dislikes)}
-                                                                       <span class="reputationCounter {if $boxArticle->cumulativeLikes > 0}positive{elseif $boxArticle->cumulativeLikes < 0}negative{else}neutral{/if}">{if $boxArticle->cumulativeLikes > 0}+{elseif $boxArticle->cumulativeLikes == 0}±{/if}{#$boxArticle->cumulativeLikes}</span>
-                                                               {/if}
                                                        {/if}
                                                </small>
                                        </div>