@(users: List[gitbucket.core.model.Account], members: Map[String, List[String]], includeRemoved: Boolean)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @html.main("Manage Users"){ @admin.html.menu("users"){
New User New Group
Include removed users

@users.map { account =>

@if(account.isGroupAccount){ Edit } else { Edit }
@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) }

}

} }