Moved the reaction summary in comments below the message
authorAlexander Ebert <ebert@woltlab.com>
Fri, 16 Aug 2019 13:03:07 +0000 (15:03 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 16 Aug 2019 13:03:07 +0000 (15:03 +0200)
com.woltlab.wcf/templates/commentList.tpl
com.woltlab.wcf/templates/commentResponseList.tpl

index a062f7e8ae7938d93c649998e7c44f33e670740e..e0380e82064f32e7ea5ea7fa2a7ecd2ba9c996f6 100644 (file)
@@ -36,8 +36,6 @@
                                                                
                                                                <small class="separatorLeft">{@$comment->time|time}</small>
                                                                
-                                                               {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>
                                                                {/if}
@@ -45,6 +43,8 @@
                                                </div>
                                                
                                                <div class="htmlContent userMessage" itemprop="text">{@$comment->getFormattedMessage()}</div>
+
+                                               {if MODULE_LIKE && $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}
                                                
                                                <nav class="jsMobileNavigation buttonGroupNavigation">
                                                        <ul class="buttonList iconList">
index d2803b3b7978b1af4a93f81647933a7a5cd76944..787cc0b7e843e82d530d75dd811f4ff93061516c 100644 (file)
@@ -29,8 +29,6 @@
                                                        
                                                        <small class="separatorLeft">{@$response->time|time}</small>
                                                        
-                                                       {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>
                                                        {/if}
@@ -38,6 +36,8 @@
                                        </div>
                                        
                                        <div class="htmlContent userMessage" itemprop="text">{@$response->getFormattedMessage()}</div>
+
+                                    {if MODULE_LIKE && $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}
                                        
                                        <nav class="jsMobileNavigation buttonGroupNavigation">
                                                <ul class="buttonList iconList">