From ea454c21f776a0fd4f7d3a64218bea6e743e5dce Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 29 Aug 2015 15:45:58 +0800 Subject: #1542 A way to skip TLS verify for SMTP authentication --- templates/admin/auth/edit.tmpl | 8 ++++++-- templates/admin/auth/list.tmpl | 6 +++--- templates/admin/auth/new.tmpl | 4 ++++ 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'templates/admin/auth') diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 11cfcdb938..6da77f1282 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -12,9 +12,9 @@
{{.i18n.Tr "admin.auths.edit"}}
-
+ {{.CsrfTokenHtml}} - + {{$type := .Source.Type}}
@@ -109,6 +109,10 @@ {{.i18n.Tr "admin.auths.enable_tls"}}
+ + + {{.i18n.Tr "admin.auths.skip_tls_verify"}} +
{{end}} diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index ec701a8f8c..dcd48353d3 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -30,13 +30,13 @@ {{range .Sources}} - {{.Id}} - {{.Name}} + {{.ID}} + {{.Name}} {{.TypeString}} {{DateFmtShort .Updated}} {{DateFmtShort .Created}} - + {{end}} diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 4e9e2f8ef3..f16db0a513 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -102,6 +102,10 @@ {{.i18n.Tr "admin.auths.enable_tls"}}
+ + + {{.i18n.Tr "admin.auths.skip_tls_verify"}} +
-- cgit v1.2.3