From 1d860923d0f6fef4c6a3fe841b4c596a4cd3ef0a Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 9 Sep 2013 14:31:17 -0400 Subject: [PATCH 1/2] booleanifying the isAdmin return... now we're admins again! :) --- src/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user.js b/src/user.js index ac40e37703..790fdd7c6b 100644 --- a/src/user.js +++ b/src/user.js @@ -772,7 +772,7 @@ var utils = require('./../public/src/utils.js'), User.isAdministrator = function(uid, callback) { Groups.getGidFromName('Administrators', function(err, gid) { Groups.isMember(uid, gid, function(err, isAdmin) { - callback(isAdmin); + callback(!!isAdmin); }); }); } From 462d5f5d05f8eed04844976aa9084173425091b8 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 9 Sep 2013 14:34:39 -0400 Subject: [PATCH 2/2] spacing between pin/lock icons in cat view --- public/templates/category.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 7fb97cd782..81af0c5b93 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -48,7 +48,7 @@

{topics.postcount}{topics.title}

- + Posted {topics.relativeTime} ago by {topics.username}.