diff --git a/src/main/scala/gitbucket/core/controller/DashboardController.scala b/src/main/scala/gitbucket/core/controller/DashboardController.scala index 1516c0f..f2a0f11 100644 --- a/src/main/scala/gitbucket/core/controller/DashboardController.scala +++ b/src/main/scala/gitbucket/core/controller/DashboardController.scala @@ -108,7 +108,9 @@ case _ => condition.copy(author = Some(userName)) }, filter, - getGroupNames(userName)) + getGroupNames(userName), + getVisibleRepositories(context.loginAccount, withoutPhysicalInfo = true), + getUserRepositories(userName, withoutPhysicalInfo = true)) } private def searchPullRequests(filter: String) = { @@ -131,7 +133,9 @@ case _ => condition.copy(author = Some(userName)) }, filter, - getGroupNames(userName)) + getGroupNames(userName), + getVisibleRepositories(context.loginAccount, withoutPhysicalInfo = true), + getUserRepositories(userName, withoutPhysicalInfo = true)) } diff --git a/src/main/twirl/gitbucket/core/account/application.scala.html b/src/main/twirl/gitbucket/core/account/application.scala.html index de74c01..fd23ca6 100644 --- a/src/main/twirl/gitbucket/core/account/application.scala.html +++ b/src/main/twirl/gitbucket/core/account/application.scala.html @@ -5,56 +5,51 @@ @import gitbucket.core.view.helpers._ @html.main("Applications"){
-
-
- @menu("application", settings.ssh) -
-
-
-
Personal access tokens
-
- @if(personalTokens.isEmpty && gneratedToken.isEmpty){ - No tokens. - } else { - Tokens you have generated that can be used to access the GitBucket API. -
- } - @gneratedToken.map{ case (token, tokenString) => -
- Make sure to copy your new personal access token now. You won't be able to see it again! -
- Delete -
- @helper.html.copy("generated-token-copy", tokenString){ - - } -
-
- } - @personalTokens.zipWithIndex.map { case (token, i) => - @if(i != 0){ -
+ @menu("application", settings.ssh){ +
+
Personal access tokens
+
+ @if(personalTokens.isEmpty && gneratedToken.isEmpty){ + No tokens. + } else { + Tokens you have generated that can be used to access the GitBucket API. +
+ } + @gneratedToken.map{ case (token, tokenString) => +
+ Make sure to copy your new personal access token now. You won't be able to see it again! +
+ Delete +
+ @helper.html.copy("generated-token-copy", tokenString){ + } - @token.note - Delete +
+
+ } + @personalTokens.zipWithIndex.map { case (token, i) => + @if(i != 0){ +
} + @token.note + Delete + } +
+
+
+
+
Generate new token
+
+
+ +
+ +

What's this token for?

+
+
- -
-
Generate new token
-
-
- -
- -

What's this token for?

-
- -
-
-
-
-
+ + }
} diff --git a/src/main/twirl/gitbucket/core/account/edit.scala.html b/src/main/twirl/gitbucket/core/account/edit.scala.html index a549ede..d303e18 100644 --- a/src/main/twirl/gitbucket/core/account/edit.scala.html +++ b/src/main/twirl/gitbucket/core/account/edit.scala.html @@ -4,14 +4,10 @@ @import gitbucket.core.view.helpers._ @html.main("Edit your profile"){
-
-
- @menu("profile", settings.ssh) -
-
- @helper.html.information(info) - @if(LDAPUtil.isDummyMailAddress(account)){
Please register your mail address.
} -
+ @menu("profile", settings.ssh){ + @helper.html.information(info) + @if(LDAPUtil.isDummyMailAddress(account)){
Please register your mail address.
} +
Profile
@@ -49,17 +45,17 @@
-
- - - @if(!LDAPUtil.isDummyMailAddress(account)){Cancel} -
+
+ + + @if(!LDAPUtil.isDummyMailAddress(account)){Cancel} +
-
+ }
}