@(active: String, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, id: Option[String] = None, expand: Boolean = false, isNoGroup: Boolean = true, info: Option[Any] = None, error: Option[Any] = None)(body: Html)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.service.SystemSettingsService @import context._ @import gitbucket.core.view.helpers._ @sidemenu(path: String, name: String, icon: String, label: String, count: Int = 0) = {
  • @if(expand){ @label} @if(expand && count > 0){
    @count
    }
  • }
    @helper.html.information(info) @helper.html.error(error)
    @if(repository.commitCount > 0){
    @if(loginAccount.isEmpty){ Fork } else { @if(isNoGroup) { Fork } else { Fork } } @repository.forkedCount
    @if(loginAccount.isDefined && isNoGroup){ } } @helper.html.repositoryicon(repository, true) @repository.owner / @repository.name @defining(repository.repository){ x => @if(repository.repository.originRepositoryName.isDefined){ } }

    @if(expand){
    HTTP clone URL
    @helper.html.copy("repository-url-copy", repository.httpUrl){ } @if(settings.ssh && loginAccount.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(expand){ @repository.repository.description.map { description =>

    @detectAndRenderLinks(description)

    } } @body