member-since and last-logged-in
This commit is contained in:
@@ -17,7 +17,7 @@ var api = module.exports;
|
||||
*/
|
||||
|
||||
var usernameFields = 'auth.local.username auth.facebook.displayName auth.facebook.givenName auth.facebook.familyName auth.facebook.name';
|
||||
var partyFields = 'profile preferences items stats achievements party backer flags.rest auth.timestamps.created ' + usernameFields;
|
||||
var partyFields = 'profile preferences items stats achievements party backer flags.rest auth.timestamps ' + usernameFields;
|
||||
|
||||
function removeSelf(group, user){
|
||||
group.members = _.filter(group.members, function(m){return m._id != user._id});
|
||||
|
||||
@@ -12,7 +12,9 @@ div(ng-controller='MemberModalCtrl')
|
||||
ul(ng-show='profile.profile.websites')
|
||||
li(ng-repeat='website in profile.profile.websites')
|
||||
a(href='{{website}}', target='_blank') {{website}}
|
||||
p.text-success Member since {{timestamp(profile.auth.timestamps.created)}}
|
||||
ul.well.unstyled(ng-if='profile.auth.timestamps')
|
||||
li(ng-show='profile.auth.timestamps.created') Member since {{timestamp(profile.auth.timestamps.created)}}
|
||||
li(ng-show='profile.auth.timestamps.loggedin') Last logged in {{timestamp(profile.auth.timestamps.loggedin)}}
|
||||
h3 Stats
|
||||
include ../profiles/stats
|
||||
.span6
|
||||
|
||||
Reference in New Issue
Block a user