Replace migration system with Solidbase

This commit is contained in:
Naoki Takezoe
2016-01-10 01:12:56 +09:00
parent a03fc4cf4a
commit 5036b1a1aa
27 changed files with 311 additions and 652 deletions

View File

@@ -1,6 +1,5 @@
@(title: String, repository: Option[gitbucket.core.service.RepositoryService.RepositoryInfo] = None)(body: Html)(implicit context: gitbucket.core.controller.Context)
@import gitbucket.core.plugin.PluginRegistry
@import gitbucket.core.servlet.AutoUpdate
@import context._
@import gitbucket.core.view.helpers._
<!DOCTYPE html>
@@ -54,9 +53,7 @@
*@
<a class="navbar-brand" href="@path/">
<img src="@assets/common/images/gitbucket.png" style="width: 24px; height: 24px;"/>GitBucket
@defining(AutoUpdate.getCurrentVersion){ version =>
<span class="header-version">@version.majorVersion.@version.minorVersion</span>
}
<span class="header-version">@gitbucket.core.GitBucketCoreModule.getVersions.get(0).getVersion</span>
</a>
@if(loginAccount.isDefined){
@repository.map { repository =>