#set ($isReply = $req.getParameter("replyToComment")) #set ($queryString = $req.getQueryString()) ### Using an array placeholder since accessing the split results directly does not work. #set($queryStringArray = []) #foreach($q in $queryString.split("&replyToComment")) #set($result = $queryStringArray.add($q)) #end ### BEGIN: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ### ### confluence-core/confluence-webapp/src/main/webapp/decorators/components/comments.vmd ### ### Classes and IDs have been added the "mobile" prefix. ### #macro (mobileCommentThread $comment) #set ($page = $comment.container)
#userLogoBlock($comment.creator)

$action.getText("comment.author.byline", ["#userLink ($comment.creator)"])#if ($page.type == "blogpost" && $comment.creator == $page.creator) $i18n.getText('comment.author.lozenge')#end

#if ($comment.isTopInlineComment)
$action.getXHtmlComments().get($comment)
#else $action.getXHtmlComments().get($comment) #end
#if ( $action.threadComments && $action.replyToComment == $comment.id && $permissionHelper.canComment($action.authenticatedUser, $comment.container) && $action.isPrintableVersion()==false )
  1. ### END: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ### ### Custom rendering of displayCommentForm macro ###
    • #if ($queryString) #else #end
    ### BEGIN: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ###
#end #if ($threadComments) #if ($comment.children.size() > 0)
    #foreach ($childComment in $comment.children) #mobileCommentThread($childComment) #end
#end #end #end ### END: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ###
### BEGIN: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ### ### confluence-core/confluence-webapp/src/main/webapp/decorators/components/comments.vmd ### ### Classes and IDs have been added the "mobile" prefix. ### #if ($page.pageLevelComments.size() > 0) #if ($threadComments) #set ($topLevelComments = $page.topLevelComments) #else #set ($topLevelComments = $pageLevelComments) #end
    #foreach ($comment in $topLevelComments) #mobileCommentThread($comment) #end
#end
#if ($permissionHelper.canComment($remoteUser, $page) && !$isReply) ### END: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ### ### Custom rendering of displayCommentForm macro ###
  • #if ($queryString) #else #end
### BEGIN: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ### #end
### END: CODE COPIED FROM CONFLUENCE 6.4.0 SOURCE ###