@(account: gitbucket.core.model.Account, groupNames: List[String], active: String,
isGroupManager: Boolean = false)(body: Html)(implicit context: gitbucket.core.controller.Context)
@import context._
@import gitbucket.core.view.helpers._
@html.main(account.userName){
@avatar(account.userName, 240)
@account.fullName
@account.userName
@if(account.url.isDefined){
}
Joined on @date(account.registeredDate)
@if(groupNames.nonEmpty){
Groups
@groupNames.map { groupName =>
@avatarLink(groupName, 36, tooltip = true)
}
}
- Repositories
@if(account.isGroupAccount){
- Members
} else {
- Public Activity
}
@gitbucket.core.plugin.PluginRegistry().getProfileTabs.map { tab =>
@tab(account, context).map { link =>
- @link.label
}
}
@if(loginAccount.isDefined && loginAccount.get.userName == account.userName){
-
}
@if(loginAccount.isDefined && account.isGroupAccount && isGroupManager){
-
}
@body
}