Add admin and moderator classes to usernames so they can be styled

This commit is contained in:
Neil Lalonde 2014-07-07 14:48:25 -04:00
parent ab3d664ce0
commit 18fafa12a2

View File

@ -17,6 +17,8 @@ var PosterNameComponent = Em.Component.extend({
primaryGroupName = post.get('primary_group_name');
if (post.get('staff')) { linkClass += ' staff'; }
if (post.get('admin')) { linkClass += ' admin'; }
if (post.get('moderator')) { linkClass += ' moderator'; }
if (post.get('new_user')) { linkClass += ' new-user'; }
if (!Em.isEmpty(primaryGroupName)) {