From 770fe5f83aa73a471b60e2f2ce5b849085307027 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Mon, 8 Oct 2018 11:36:03 +0200 Subject: [PATCH] Add indicator for reputation on article list See #2508 --- com.woltlab.wcf/templates/articleListItems.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/com.woltlab.wcf/templates/articleListItems.tpl b/com.woltlab.wcf/templates/articleListItems.tpl index 21dc237435..1908868287 100644 --- a/com.woltlab.wcf/templates/articleListItems.tpl +++ b/com.woltlab.wcf/templates/articleListItems.tpl @@ -34,6 +34,14 @@ {/if} + {if MODULE_LIKE && $__wcf->getSession()->getPermission('user.like.canViewLike')} +
  • + {if $article->likes || $article->dislikes || $article->neutralReactions} + {if $article->cumulativeLikes > 0}+{elseif $article->cumulativeLikes == 0}±{/if}{#$article->cumulativeLikes} + {/if} +
  • + {/if} + {if ARTICLE_ENABLE_VISIT_TRACKING && $article->isNew()}
  • {lang}wcf.message.new{/lang}
  • {/if} {if $article->isDeleted}
  • {lang}wcf.message.status.deleted{/lang}
  • {/if} -- 2.20.1