Remove message on sign-in dialog. and change message in System settings.

This commit is contained in:
KOUNOIKE Yuusuke
2017-04-02 15:11:38 +09:00
parent dcd4c55fb9
commit d0fa4da45a
2 changed files with 1 additions and 8 deletions

View File

@@ -24,7 +24,7 @@
@if(DatabaseConfig.url.startsWith("jdbc:h2:")) {
<td class="danger">
<p>@gitbucket.core.util.DatabaseConfig.url</p>
<p>H2 database should be used for evaluation purpose only.</p>
<p>Embedded H2 database should be used for evaluation purpose only.</p>
<p>
Please configure using external database explained <a href="https://github.com/gitbucket/gitbucket/wiki/External-database-configuration">here</a>.
</p>

View File

@@ -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"){
<div class="content-wrapper main-center">
<div class="content body">
@@ -12,12 +11,6 @@
@Html(information)
</div>
}
@if(DatabaseConfig.url.startsWith("jdbc:h2:")) {
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
H2 database should be used for evaluation purpose only.
</div>
}
@gitbucket.core.helper.html.error(error)
@gitbucket.core.html.signinform(context.settings, userName, password)
</div>