@(originRepository: Option[gitbucket.core.service.RepositoryService.RepositoryInfo], members: List[(String, String)], groupNames: List[String], repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main(s"${repository.owner}/${repository.name}", Some(repository)) { @gitbucket.core.html.menu("fork", repository){

# Forked repositories

@if(originRepository.isDefined){ @helpers.avatarLink(originRepository.get.owner, 20) @originRepository.get.owner / @originRepository.get.name } else { @helpers.avatar(repository.repository.originUserName.get, 20) @repository.repository.originUserName / @repository.repository.originRepositoryName } (origin)
@members.map { case (owner, name) =>
@helpers.avatarLink(owner, 20) @owner / @name
} } }