@(active: String, repository: service.RepositoryService.RepositoryInfo, id: Option[String] = None, expand: Boolean = false)(body: Html)(implicit context: app.Context) @import context._ @import view.helpers._
@if(repository.commitCount > 0){
}
@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 =>
Download ZIP
} }
@if(expand){ @repository.repository.description.map { description =>

@description

}
@repository.commitCount commits @repository.branchList.length branches @repository.tags.length releases
} @body
@if(settings.ssh && loginAccount.isDefined){ }