Fix missing reaction summary container
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 9 Aug 2018 11:13:10 +0000 (13:13 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 9 Aug 2018 11:13:10 +0000 (13:13 +0200)
See #2508

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

index 8c74907111a1b245061b5f377edd5fcda5de4cac..98ea76a0cbc1dd478dc09597986e8ddaaf812fd6 100644 (file)
@@ -36,7 +36,7 @@
                                                                
                                                                <small class="separatorLeft">{@$comment->time|time}</small>
                                                                
-                                                               {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{/if}
+                                                               {if MODULE_LIKE}{if $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{else}<ul class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment" data-object-id="{$comment->commentID}">{/if}{/if}
                                                                
                                                                {if $comment->isDisabled}
                                                                        <span class="badge label green jsIconDisabled">{lang}wcf.message.status.disabled{/lang}</span>
index f5accae47587ea6c0bf584d0710ee3936cd20c98..85e5f30184611dc5bcfb106d8b26dd64672b87ad 100644 (file)
@@ -29,7 +29,7 @@
                                                        
                                                        <small class="separatorLeft">{@$response->time|time}</small>
                                                        
-                                                       {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{/if}
+                                                       {if MODULE_LIKE}{if $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{else}<ul class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment.response" data-object-id="{$response->responseID}">{/if}{/if}
                                                        
                                                        {if $response->isDisabled}
                                                                <span class="badge label green jsIconDisabled">{lang}wcf.message.status.disabled{/lang}</span>