summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
committerUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
commit85f34ba53843177999cb98bad046e9cce22bfc8f (patch)
treef1f7ca6d3b0fc4848216becd9bc2a25e019cb12e /templates/install.tmpl
parent00767a0522606cd504d81d35fa1d9e9c1e34610c (diff)
downloadgitea-85f34ba53843177999cb98bad046e9cce22bfc8f.tar.gz
gitea-85f34ba53843177999cb98bad046e9cce22bfc8f.zip
new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 3001a47bfd..657247ce50 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -26,7 +26,7 @@
</div>
</div>
- <div id="sql_settings" class="{{if eq .CurDbOption "SQLite3"}}hide{{end}}">
+ <div id="sql_settings" class="{{if or (eq .CurDbOption "SQLite3") (eq .CurDbOption "TiDB")}}hide{{end}}">
<div class="inline required field {{if .Err_DbSetting}}error{{end}}">
<label for="db_host">{{.i18n.Tr "install.host"}}</label>
<input id="db_host" name="db_host" value="{{.db_host}}">
@@ -62,7 +62,7 @@
</div>
</div>
- <div id="sqlite_settings" class="{{if not (eq .CurDbOption "SQLite3")}}hide{{end}}">
+ <div id="sqlite_settings" class="{{if not (or (eq .CurDbOption "SQLite3") (eq .CurDbOption "TiDB"))}}hide{{end}}">
<div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
<label for="db_path">{{.i18n.Tr "install.path"}}</label>
<input id="db_path" name="db_path" value="{{.db_path}}">