diff --git a/src/main/twirl/gitbucket/core/admin/system.scala.html b/src/main/twirl/gitbucket/core/admin/system.scala.html index c78ad6d..c06702b 100644 --- a/src/main/twirl/gitbucket/core/admin/system.scala.html +++ b/src/main/twirl/gitbucket/core/admin/system.scala.html @@ -1,4 +1,5 @@ @(info: Option[Any])(implicit context: gitbucket.core.controller.Context) +@import gitbucket.core.util.DatabaseConfig @gitbucket.core.html.main("System settings"){ @gitbucket.core.admin.html.menu("system"){ @gitbucket.core.helper.html.information(info) @@ -20,7 +21,17 @@ DATABASE_URL - @gitbucket.core.util.DatabaseConfig.url + @if(DatabaseConfig.url.startsWith("jdbc:h2:")) { + +

@gitbucket.core.util.DatabaseConfig.url

+

H2 database should be used for evaluation purpose only.

+

+ Please configure using external database explained here. +

+ + }else{ + @gitbucket.core.util.DatabaseConfig.url + }