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

@users.map { account =>
@if(account.isGroupAccount){ Edit } else { Edit } @helpers.avatarLink(account.userName, 20) @account.userName @if(account.isGroupAccount){ (Group) } else { @if(account.isAdmin){ (Administrator) } else { (Normal) } } @if(account.isGroupAccount){ @members(account.userName).map { userName => @helpers.avatarLink(userName, 20, tooltip = true) } } @if(!account.isGroupAccount){ @account.mailAddress } @account.url.map { url => @url } Registered: @helpers.datetime(account.registeredDate) Updated: @helpers.datetime(account.updatedDate) @if(!account.isGroupAccount){ Last Login: @account.lastLoginDate.map(helpers.datetime) }
}

} }