mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 02:56:08 +01:00
Rename ProjectService to RepositoryService.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@(diffs: Seq[util.JGitUtil.DiffInfo], repository: service.ProjectService.RepositoryInfo, commitId: Option[String])(implicit context: app.Context)
|
||||
@(diffs: Seq[util.JGitUtil.DiffInfo], repository: service.RepositoryService.RepositoryInfo, commitId: Option[String])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import org.eclipse.jgit.diff.DiffEntry.ChangeType
|
||||
@diffs.zipWithIndex.map { case (diff, i) =>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(active: String, repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(active: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
<div class="head">
|
||||
<a href="@path/@repository.owner">@repository.owner</a> / <a href="@path/@repository.owner/@repository.name">@repository.name</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(repositories: List[service.ProjectService.RepositoryInfo])(implicit context: app.Context)
|
||||
@(repositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@main("GitBucket"){
|
||||
<h3>Recent updated repositories</h3>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(branch: String, repository: service.ProjectService.RepositoryInfo, pathList: List[String], content: util.JGitUtil.ContentInfo, latestCommit: util.JGitUtil.CommitInfo)(implicit context: app.Context)
|
||||
@(branch: String, repository: service.RepositoryService.RepositoryInfo, pathList: List[String], content: util.JGitUtil.ContentInfo, latestCommit: util.JGitUtil.CommitInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@html.main(repository.owner+"/"+repository.name) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.ProjectService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context)
|
||||
@(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.RepositoryService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@import org.eclipse.jgit.diff.DiffEntry.ChangeType
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pathList: List[String], branch: String, repository: service.ProjectService.RepositoryInfo, commits: Seq[Seq[util.JGitUtil.CommitInfo]], page: Int, hasNext: Boolean)(implicit context: app.Context)
|
||||
@(pathList: List[String], branch: String, repository: service.RepositoryService.RepositoryInfo, commits: Seq[Seq[util.JGitUtil.CommitInfo]], page: Int, hasNext: Boolean)(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@html.main(repository.owner+"/"+repository.name) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(branch: String, repository: service.ProjectService.RepositoryInfo, pathList: List[String], latestCommit: util.JGitUtil.CommitInfo, files: List[util.JGitUtil.FileInfo], readme: Option[String])(implicit context: app.Context)
|
||||
@(branch: String, repository: service.RepositoryService.RepositoryInfo, pathList: List[String], latestCommit: util.JGitUtil.CommitInfo, files: List[util.JGitUtil.FileInfo], readme: Option[String])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@html.main(repository.owner + "/" + repository.name) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(id: String, repository: service.ProjectService.RepositoryInfo, active: String)(implicit context: app.Context)
|
||||
@(id: String, repository: service.RepositoryService.RepositoryInfo, active: String)(implicit context: app.Context)
|
||||
@import context._
|
||||
<ul class="nav nav-tabs">
|
||||
<li>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@html.main(repository.owner + "/" + repository.name) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
@html.main("Settings"){
|
||||
@html.header("settings", repository)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(active: String, repository: service.ProjectService.RepositoryInfo)(body: Html)(implicit context: app.Context)
|
||||
@(active: String, repository: service.RepositoryService.RepositoryInfo)(body: Html)(implicit context: app.Context)
|
||||
@import context._
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
@html.main("Settings"){
|
||||
@html.header("settings", repository)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(account: model.Account, repositories: List[service.ProjectService.RepositoryInfo])(implicit context: app.Context)
|
||||
@(account: model.Account, repositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@main(account.userName){
|
||||
<div class="container-fluid">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pageName: String, page: service.WikiService.WikiPageInfo, repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(pageName: String, page: service.WikiService.WikiPageInfo, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import view.helpers
|
||||
@import context._
|
||||
@html.main(pageName + " - " + repository.owner + "/" + repository.name){
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pageName: Option[String], diffs: Seq[util.JGitUtil.DiffInfo], repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(pageName: Option[String], diffs: Seq[util.JGitUtil.DiffInfo], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import view.helpers
|
||||
@import context._
|
||||
@import org.eclipse.jgit.diff.DiffEntry.ChangeType
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pageName: String, page: Option[service.WikiService.WikiPageInfo], repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(pageName: String, page: Option[service.WikiService.WikiPageInfo], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import view.helpers
|
||||
@import context._
|
||||
@html.main((if(pageName == "") "New Page" else pageName) + " - " + repository.owner + "/" + repository.name){
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pageName: Option[String], commits: List[util.JGitUtil.CommitInfo], repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(pageName: Option[String], commits: List[util.JGitUtil.CommitInfo], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import view.helpers
|
||||
@import context._
|
||||
@html.main("History - " + repository.owner + "/" + repository.name){
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(pages: List[String], repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(pages: List[String], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import view.helpers
|
||||
@import context._
|
||||
@html.main("Pages - " + repository.owner + "/" + repository.name){
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@(active: String, repository: service.ProjectService.RepositoryInfo)(implicit context: app.Context)
|
||||
@(active: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
|
||||
@import context._
|
||||
<ul class="nav nav-tabs">
|
||||
<li@if(active == "home"){ class="active"}><a href="@path/@repository.owner/@repository.name/wiki">Home</a></li>
|
||||
|
||||
Reference in New Issue
Block a user