@(branch: String, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, pathList: List[String], protectedBranch: Boolean)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @import gitbucket.core.util.FileUtil @gitbucket.core.html.main(s"Upload Files at ${branch} - ${repository.owner}/${repository.name}", Some(repository)) { @gitbucket.core.html.menu("files", repository){ @if(protectedBranch){
branch @branch is protected.
} @* *@
@repository.name / @pathList.zipWithIndex.map { case (section, i) => @section / }

Drag files here to add them to your repository

Commit changes
Cancel
} }