(refs #115)Add button to toggle http/ssh for wiki repository url box

This commit is contained in:
takezoe
2014-03-14 10:59:42 +09:00
parent 0c683f7243
commit d1c6c763e2
8 changed files with 56 additions and 22 deletions

View File

@@ -1,11 +1,12 @@
@(pageName: Option[String],
commits: List[util.JGitUtil.CommitInfo],
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"History - ${repository.owner}/${repository.name}", Some(repository)){
@html.header("wiki", repository)
@tab(if(pageName.isEmpty) "history" else "", repository)
@tab(if(pageName.isEmpty) "history" else "", repository, settings)
<ul class="nav nav-tabs">
<li>
<h1 class="wiki-title">