-
@avatar(account.userName, 240)
- @account.fullName
- @account.userName
+
+
+
+
- @avatar(account.userName, 40)
+
+
@account.userName
+ @account.fullName +
+
-
@if(account.url.isDefined){
-
+
@if(groupNames.nonEmpty){
- + @account.url +
} - Joined on @date(account.registeredDate)
+ + Joined on @date(account.registeredDate) +
-
}
Groups
+ -
+
- Groups @groupNames.map { groupName => - @avatarLink(groupName, 36, tooltip = true) +
- @avatarLink(groupName, 20, tooltip = true, label = true) }
+
+
+
- Repositories @if(account.isGroupAccount){ diff --git a/src/main/twirl/gitbucket/core/account/menu.scala.html b/src/main/twirl/gitbucket/core/account/menu.scala.html index a3ee9db..77bcd20 100644 --- a/src/main/twirl/gitbucket/core/account/menu.scala.html +++ b/src/main/twirl/gitbucket/core/account/menu.scala.html @@ -1,27 +1,31 @@ @(active: String, ssh: Boolean)(body: Html)(implicit context: gitbucket.core.controller.Context) @import context._
- - Profile - - @if(ssh){ -
- - SSH Keys - - } -
- - Applications - - @gitbucket.core.plugin.PluginRegistry().getAccountSettingMenus.map { menu => - @menu(context).map { link => -
- - @link.label - +
- + Applications + + @gitbucket.core.plugin.PluginRegistry().getAccountSettingMenus.map { menu => + @menu(context).map { link => +
- + @link.label + + } + } + +
-
--
-
+
+
- @body
+
+
+ @body
+