From b6f3211ce7d7d982b0015f830e422a6eb4daa11a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 6 May 2013 15:09:22 -0400 Subject: [PATCH] if a thread is locked, the reply buttons all now say "locked", and the post reply window will not pop up --- public/templates/topic.tpl | 195 +++++++++++++++++++++---------------- src/webserver.js | 2 +- 2 files changed, 113 insertions(+), 84 deletions(-) diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 02935ba553..515b314fca 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -37,106 +37,135 @@ \ No newline at end of file diff --git a/src/webserver.js b/src/webserver.js index 87a01550c5..c08190096d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -340,7 +340,7 @@ passport.deserializeUser(function(uid, done) { app.get('/test', function(req, res) { global.modules.posts.get(function(data) { - res.send('
' + JSON.stringify(data) + '
'); + res.send('
' + JSON.stringify(data, null, 4) + '
'); }, 1, 1); }); }(WebServer));