@(users: List[model.Account], members: Map[String, List[String]], includeRemoved: Boolean)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("Manage Users"){ @admin.html.menu("users"){
@avatar(account.userName, 20)
@account.userName
@if(account.isGroupAccount){
(Group)
} else {
@if(account.isAdmin){
(Administrator)
} else {
(Normal)
}
}
@if(account.isGroupAccount){
@members(account.userName).map { userName =>
@avatar(userName, 20, tooltip = true)
}
}
@if(!account.isGroupAccount){ @account.mailAddress } @account.url.map { url => @url }
Registered: @datetime(account.registeredDate)
Updated: @datetime(account.updatedDate)
@if(!account.isGroupAccount){
Last Login: @account.lastLoginDate.map(datetime)
}
|