@(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 gitbucket.core.view.helpers
@menuitem(path: String, name: String, label: String, icon: String, count: Int = 0) = {
@if(path.startsWith("http")){
@label @if(count > 0) { @count }
} else {
@label @if(count > 0) { @count }
}
}
@gitbucket.core.helper.html.information(info)
@gitbucket.core.helper.html.error(error)
@gitbucket.core.helper.html.repositoryicon(repository, true)
@repository.owner /
@repository.name
@defining(repository.repository){ x =>
@if(repository.repository.originRepositoryName.isDefined){
}
@x.description.map { description =>
@Html(helpers.detectAndRenderLinks(description, repository))
}
}
@body