From d0fa4da45a0802ca18bda24a9017f30b33e770b1 Mon Sep 17 00:00:00 2001 From: KOUNOIKE Yuusuke Date: Sun, 2 Apr 2017 15:11:38 +0900 Subject: [PATCH] Remove message on sign-in dialog. and change message in System settings. --- src/main/twirl/gitbucket/core/admin/system.scala.html | 2 +- src/main/twirl/gitbucket/core/signin.scala.html | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/twirl/gitbucket/core/admin/system.scala.html b/src/main/twirl/gitbucket/core/admin/system.scala.html index c06702b32..46de04c5c 100644 --- a/src/main/twirl/gitbucket/core/admin/system.scala.html +++ b/src/main/twirl/gitbucket/core/admin/system.scala.html @@ -24,7 +24,7 @@ @if(DatabaseConfig.url.startsWith("jdbc:h2:")) {

@gitbucket.core.util.DatabaseConfig.url

-

H2 database should be used for evaluation purpose only.

+

Embedded H2 database should be used for evaluation purpose only.

Please configure using external database explained here.

diff --git a/src/main/twirl/gitbucket/core/signin.scala.html b/src/main/twirl/gitbucket/core/signin.scala.html index 828388711..fa172d851 100644 --- a/src/main/twirl/gitbucket/core/signin.scala.html +++ b/src/main/twirl/gitbucket/core/signin.scala.html @@ -1,7 +1,6 @@ @(userName: Option[Any] = None, password: Option[Any] = None, error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context) -@import gitbucket.core.util.DatabaseConfig @gitbucket.core.html.main("Sign in"){
@@ -12,12 +11,6 @@ @Html(information)
} - @if(DatabaseConfig.url.startsWith("jdbc:h2:")) { -
- - H2 database should be used for evaluation purpose only. -
- } @gitbucket.core.helper.html.error(error) @gitbucket.core.html.signinform(context.settings, userName, password)