mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
recent reply fix
This commit is contained in:
@@ -153,13 +153,14 @@ define(['composer'], function(composer) {
|
|||||||
var replies = '';
|
var replies = '';
|
||||||
for (var i = 0, numPosts = posts.length; i < numPosts; ++i) {
|
for (var i = 0, numPosts = posts.length; i < numPosts; ++i) {
|
||||||
|
|
||||||
replies += '<li data-pid="'+ posts[i].pid +'">' +
|
replies += '<li data-pid="'+ posts[i].pid +'" class="clearfix">' +
|
||||||
'<a href="' + RELATIVE_PATH + '/user/' + posts[i].userslug + '"><img title="' + posts[i].username + '" class="img-rounded user-img" src="' + posts[i].picture + '"/></a>' +
|
'<a href="' + RELATIVE_PATH + '/user/' + posts[i].userslug + '"><img title="' + posts[i].username + '" class="img-rounded user-img" src="' + posts[i].picture + '"/></a>' +
|
||||||
'<strong><span>'+ posts[i].username + '</span></strong>' +
|
'<strong><span>'+ posts[i].username + '</span></strong>' +
|
||||||
'<a href="' + RELATIVE_PATH + '/topic/' + posts[i].topicSlug + '#' + posts[i].pid + '">' +
|
'<p>' + posts[i].content + '</p>' +
|
||||||
'<p>' + posts[i].content + '</p>' +
|
'<span class="pull-right">'+
|
||||||
'</a>' +
|
'<a href="' + RELATIVE_PATH + '/topic/' + posts[i].topicSlug + '#' + posts[i].pid + '">posted</a> '+
|
||||||
'<span class="timeago pull-right" title="' + posts[i].relativeTime + '"></span>' +
|
'<span class="timeago" title="' + posts[i].relativeTime + '"></span>' +
|
||||||
|
'</span>'+
|
||||||
'</li>';
|
'</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user