summaryrefslogtreecommitdiff
path: root/public/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js')
-rw-r--r--public/assets/js/lib/views/users/users.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/users/users.js b/public/assets/js/lib/views/users/users.js
index cabf77c..cebc6f9 100644
--- a/public/assets/js/lib/views/users/users.js
+++ b/public/assets/js/lib/views/users/users.js
@@ -53,11 +53,12 @@ var UsersView = View.extend({
var commentCount = stats.comments ? hush_null(stats.comments, 'c') : ['','']
var firstseen_datetime = verbose_date(user.firstseen)
var lastseen = get_age(user.lastseen)
- var avatar = "https://s3.amazonaws.com/i.asdf.us/bucky/profile/" + user.username + ".jpg"
+ var avatar = profile_image(user.username)
var t = this.template
.replace(/{{username}}/g, sanitizeHTML(user.username))
.replace(/{{id}}/g, user.id)
.replace(/{{avatar}}/g, user.avatar)
+ .replace(/{{location}}/g, user.location)
.replace(/{{realname}}/g, sanitizeHTML(user.realname))
.replace(/{{firstseen_date}}/g, firstseen_datetime[0])
.replace(/{{firstseen_time}}/g, firstseen_datetime[1])