Add additional template event in comment list
authorMarcel Werk <burntime@woltlab.com>
Mon, 17 Apr 2023 16:04:39 +0000 (18:04 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 17 Apr 2023 16:04:39 +0000 (18:04 +0200)
com.woltlab.wcf/templates/commentList.tpl
com.woltlab.wcf/templates/commentResponseList.tpl

index 441ae9d7b68bcfd1d7b938faa42ed9f825a47f3c..7c0b3dfa7a7565b7d5264ae1b48695022427a44b 100644 (file)
@@ -40,6 +40,8 @@
                                                {if $commentManager->isContentAuthor($comment)}
                                                        <span class="badge label">{lang}wcf.comment.objectAuthor{/lang}</span>
                                                {/if}
+
+                                               {event name='commentStatus'}
                                        </div>
                                        <div class="comment__menu dropdown" id="commentOptions{@$comment->commentID}">
                                <button type="button" class="dropdownToggle" aria-label="{lang}wcf.global.button.more{/lang}">{icon name='ellipsis-vertical'}</button>
index dd2214155c9dc2c94e1c350f1b3ab4aa6637ac64..bbf7be61cd284eae056d85311509f3cfea08cd7b 100644 (file)
@@ -37,6 +37,8 @@
                                                {if $commentManager->isContentAuthor($response)}
                                                        <span class="badge label">{lang}wcf.comment.objectAuthor{/lang}</span>
                                                {/if}
+
+                                               {event name='commentResponseStatus'}
                                        </div>
 
                                        <div class="commentResponse__menu dropdown" id="commentResponseOptions{@$response->responseID}">