Check like module for comment reactions
authorJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 10:54:48 +0000 (12:54 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Aug 2018 10:54:48 +0000 (12:54 +0200)
See #2508

com.woltlab.wcf/templates/commentList.tpl
com.woltlab.wcf/templates/commentResponseList.tpl

index 20ab1684be5102c776f5ff606e1aa829bdd25a29..8c74907111a1b245061b5f377edd5fcda5de4cac 100644 (file)
@@ -36,7 +36,7 @@
                                                                
                                                                <small class="separatorLeft">{@$comment->time|time}</small>
                                                                
-                                                               {if $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{/if}
+                                                               {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{/if}
                                                                
                                                                {if $comment->isDisabled}
                                                                        <span class="badge label green jsIconDisabled">{lang}wcf.message.status.disabled{/lang}</span>
index 714cab266eb7e634b00908ad53fe3cebef123177..f5accae47587ea6c0bf584d0710ee3936cd20c98 100644 (file)
@@ -29,7 +29,7 @@
                                                        
                                                        <small class="separatorLeft">{@$response->time|time}</small>
                                                        
-                                                       {if $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{/if}
+                                                       {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{/if}
                                                        
                                                        {if $response->isDisabled}
                                                                <span class="badge label green jsIconDisabled">{lang}wcf.message.status.disabled{/lang}</span>