@(users: List[model.Account], members: Map[String, List[String]])(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){ @if(members(account.userName).isEmpty){ No members } else { Members: @members(account.userName).map { userName => @avatar(userName, 20, tooltip = true) } } } else { @account.mailAddress @account.url.map { url => @url } }
Registered: @datetime(account.registeredDate)
Updated: @datetime(account.updatedDate)
@if(!account.isGroupAccount){
Last Login: @account.lastLoginDate.map(datetime)
}
|