:s/moderator?/staff/g ... our naming was kind of crazy, renamed moderator? to staff

This commit is contained in:
Sam
2013-05-02 17:22:27 +10:00
parent 65cd00cf25
commit 5ec52bd2e9
19 changed files with 82 additions and 96 deletions
@@ -13,7 +13,7 @@ Discourse.UserController = Discourse.ObjectController.extend({
}).property('content.username', 'Discourse.currentUser.username'),
canSeePrivateMessages: (function() {
return this.get('viewingSelf') || Discourse.get('currentUser.moderator');
return this.get('viewingSelf') || Discourse.get('currentUser.staff');
}).property('viewingSelf', 'Discourse.currentUser')
});