aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-12-16 22:25:00 +0100
committerLauris BH <lauris@nix.lv>2017-12-16 23:25:00 +0200
commiteb2b4df0ed258fc63108b272dda43b306ac25cce (patch)
tree36f289bdfdc774523de3f9eff7091d86b5a8485c /templates/admin
parentbefa7445d254cc88662015222c85ccd4c96b9a10 (diff)
downloadgitea-eb2b4df0ed258fc63108b272dda43b306ac25cce.tar.gz
gitea-eb2b4df0ed258fc63108b272dda43b306ac25cce.zip
Change SSL Mode from checkbox to string in admin page (#3208)
Closes #3207 Use a string, not a checkbox because "require", "verify-full", "verify-ca" and "disable" values are supported ...
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 9ebb57968e..fd9f4f3303 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -99,7 +99,7 @@
<dt>{{.i18n.Tr "admin.config.db_user"}}</dt>
<dd>{{if .DbCfg.User}}{{.DbCfg.User}}{{else}}-{{end}}</dd>
<dt>{{.i18n.Tr "admin.config.db_ssl_mode"}}</dt>
- <dd><i class="fa fa{{if .DbCfg.SSLMode}}-check{{end}}-square-o"></i> {{.i18n.Tr "admin.config.db_ssl_mode_helper"}}</dd>
+ <dd>{{if .DbCfg.SSLMode}}{{.DbCfg.SSLMode}}{{else}}-{{end}} {{.i18n.Tr "admin.config.db_ssl_mode_helper"}}</dd>
<dt>{{.i18n.Tr "admin.config.db_path"}}</dt>
<dd>{{if .DbCfg.Path}}{{.DbCfg.Path}}{{else}}-{{end}} {{.i18n.Tr "admin.config.db_path_helper"}}</dd>
</dl>