@(active: String, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, id: Option[String] = None, info: Option[Any] = None, error: Option[Any] = None)(body: Html)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @menuitem(path: String, name: String, icon: String, label: String, count: Int = 0) = {
- @label @if(count > 0){ @count }
}
@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 @defining(repository.repository){ x => @if(repository.repository.originRepositoryName.isDefined){
forked from @x.parentUserName/@x.parentRepositoryName
} @x.description.map { description =>
@detectAndRenderLinks(description)
} }
@body