Added missing user links
authorMarcel Werk <burntime@woltlab.com>
Thu, 23 May 2013 20:31:56 +0000 (22:31 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 23 May 2013 20:31:56 +0000 (22:31 +0200)
com.woltlab.wcf/template/commentList.tpl
com.woltlab.wcf/template/commentResponseList.tpl

index 42d2534161b554efd5d54ec97a7b24d3355d4136..093b956bb50486134198bd3f99e1dff1cf738e44 100644 (file)
@@ -8,7 +8,7 @@
                        <div>
                                <div class="commentContent">
                                        <div class="containerHeadline">
-                                               <h3><a href="{link controller='User' object=$comment->getUserProfile()}{/link}">{$comment->username}</a><small> - {@$comment->time|time}</small></h3> 
+                                               <h3><a href="{link controller='User' object=$comment->getUserProfile()}{/link}" class="userLink" data-user-id="{@$comment->userID}">{$comment->username}</a><small> - {@$comment->time|time}</small></h3> 
                                        </div>
                                        
                                        <p class="userMessage">{@$comment->getFormattedMessage()}</p>
index 9ecc824c29c28cf3f6b76f0eb9f14a10115451eb..b5482e16bc26a4bb5087ec7e8fe461e7fe0be2d4 100644 (file)
@@ -9,7 +9,7 @@
                        
                        <div class="commentContent commentResponseContent">
                                <div class="containerHeadline">
-                                       <h3><a href="{link controller='User' object=$response->getUserProfile()}{/link}">{$response->username}</a><small> - {@$response->time|time}</small></h3> 
+                                       <h3><a href="{link controller='User' object=$response->getUserProfile()}{/link}" class="userLink" data-user-id="{@$response->userID}">{$response->username}</a><small> - {@$response->time|time}</small></h3> 
                                </div>
                                
                                <p class="userMessage">{@$response->getFormattedMessage()}</p>