From 73e958e6270934bb9025bb9cd65cb7236a8dd62b Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sat, 4 May 2013 18:20:22 -0400 Subject: [PATCH] added join date to users, fixed post count when a new topic is created. account page shows time joined,picture and name --- public/templates/account.tpl | 20 ++++++++++++++++--- public/templates/home.tpl | 2 +- public/templates/topic.tpl | 2 +- src/topics.js | 4 +--- src/user.js | 38 ++++++++++++++++++++++++++++++++++-- src/utils.js | 11 +++++++---- src/webserver.js | 14 ++++++++++++- 7 files changed, 76 insertions(+), 15 deletions(-) diff --git a/public/templates/account.tpl b/public/templates/account.tpl index 0a66dc2040..faee1a8f33 100644 --- a/public/templates/account.tpl +++ b/public/templates/account.tpl @@ -5,11 +5,25 @@

+ + + + +
+ {user.username} +

-

- If you see this, you are logged in. -

+
+ Member for + {user.joindate} +
+ + + + + +