diff --git a/src/main/twirl/gitbucket/core/menu.scala.html b/src/main/twirl/gitbucket/core/menu.scala.html index d418328..2c47f6a 100644 --- a/src/main/twirl/gitbucket/core/menu.scala.html +++ b/src/main/twirl/gitbucket/core/menu.scala.html @@ -70,71 +70,41 @@
-@* - @if(expand){ -
- HTTP clone URL -
- @helper.html.copy("repository-url-copy", repository.httpUrl){ - - } - @if(repository.sshUrl.isDefined){ -
- You can clone HTTP or SSH. -
- } - @id.map { id => - @if(context.platform != "linux" && context.platform != null){ -
-   Clone in Desktop -
- } -
- Download ZIP -
-
- Download TAR.GZ -
- } + @if(isRepoTop){ + @repository.repository.description.map { description => +

@detectAndRenderLinks(description)

} -*@ -@*
*@ - @if(isRepoTop){ - @repository.repository.description.map { description => -

@detectAndRenderLinks(description)

- } - - } - @body -
-@*
*@ +
+ + + + + + +
+ + + @if(repository.commitCount > 10000){ + 10000+ commits + } else { + @repository.commitCount commits + } + + + + + @repository.branchList.length branches + + + + + @repository.tags.length releases + +
+
+ } + @body +