diff --git a/src/main/twirl/gitbucket/core/menu.scala.html b/src/main/twirl/gitbucket/core/menu.scala.html index 7fe341d..e14a92f 100644 --- a/src/main/twirl/gitbucket/core/menu.scala.html +++ b/src/main/twirl/gitbucket/core/menu.scala.html @@ -1,7 +1,6 @@ @(active: String, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, id: Option[String] = None, - isRepoTop: Boolean = false, info: Option[Any] = None, error: Option[Any] = None)(body: Html)(implicit context: gitbucket.core.controller.Context) @import context._ @@ -22,6 +21,24 @@
@helper.html.information(info) @helper.html.error(error) +
+ + + @if(repository.commitCount > 10000){ + 10000+ commits + } else { + @repository.commitCount commits + } + + + + @repository.branchList.length branches + + + + @repository.tags.length releases + +
@helper.html.repositoryicon(repository, true) @repository.owner / @repository.name @@ -32,6 +49,9 @@ forked from @x.parentUserName/@x.parentRepositoryName
} + @x.description.map { description => +
@detectAndRenderLinks(description)
+ } }