(refs #115)Add url switcher to the repository url box

This commit is contained in:
takezoe
2014-03-13 16:54:11 +09:00
parent 78ca9b3f1a
commit 02d79cb16a
11 changed files with 54 additions and 30 deletions

View File

@@ -1,11 +1,12 @@
@(branchInfo: Seq[(String, java.util.Date)],
hasWritePermission: Boolean,
repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
repository: service.RepositoryService.RepositoryInfo,
settings: service.SystemSettingsService.SystemSettings)(implicit context: app.Context)
@import context._
@import view.helpers._
@html.main(s"${repository.owner}/${repository.name}", Some(repository)) {
@html.header("code", repository)
@tab(repository.repository.defaultBranch, repository, "branches", true)
@tab(repository.repository.defaultBranch, repository, "branches", settings, true)
<h1>Branches</h1>
<table class="table table-bordered">
<tr>