Node.js based forum software built for the modern web
fixed active users and reply user links to use /users/username
Baris Usaklid2f830c75f18
diff --git a/public/templates/topic.tpl b/public/templates/topic.tplindex 30772d93e7..1205b39cae 100644--- a/public/templates/topic.tpl+++ b/public/templates/topic.tpl@@ -19,7 +19,7 @@<div class="post-block"><div id="content_{posts.pid}" class="post-content">{posts.content}</div><div class="profile-block">- <img class="hidden-desktop" src="{posts.gravatar}10" align="left" /> posted by <strong><a href="/users/{posts.uid}">{posts.username}</a></strong> {posts.relativeTime} ago+ <img class="hidden-desktop" src="{posts.gravatar}10" align="left" /> posted by <strong><a href="/users/{posts.username}">{posts.username}</a></strong> {posts.relativeTime} ago<span class="post-buttons"><div id="ids_{posts.pid}_{posts.uid}" class="edit {posts.display_moderator_tools} hidden-phone"><i class="icon-pencil"></i></div><div id="ids_{posts.pid}_{posts.uid}" class="delete {posts.display_moderator_tools} hidden-phone"><i class="icon-trash"></i></div>@@ -116,7 +116,7 @@usercount = usernames.length;for (var i = 0, ii=usercount; i<ii; i++) {- usernames[i] = '<strong>' + '<a href="/users/'+users.uids[i]+'">' + usernames[i] + '</a></strong>';+ usernames[i] = '<strong>' + '<a href="/users/'+usernames[i]+'">' + usernames[i] + '</a></strong>';}// headexplosion.gif for fun, to see if I could do this in one line of code. feel free to refactor haha