@(branch: String, repository: service.RepositoryService.RepositoryInfo, pathList: List[String], fileName: Option[String], content: util.JGitUtil.ContentInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main(if(fileName.isEmpty) "New File" else s"Editing ${fileName.get} at ${branch} - ${repository.owner}/${repository.name}", Some(repository)) { @html.menu("code", repository){
@repository.name / @pathList.zipWithIndex.map { case (section, i) => @section / }

@avatar(loginAccount.get.userName, 48)
Commit changes
@if(fileName.isEmpty){ Cancel } else { Cancel }
} }