Browse Source

templates/admin/config: show SSH.StartBuiltinServer

pull/4985/merge
Unknwon 7 years ago
parent
commit
63a263f542
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 1
      conf/locale/locale_en-US.ini
  2. 4
      pkg/bindata/bindata.go
  3. 2
      templates/admin/config.tmpl

1
conf/locale/locale_en-US.ini

@ -1163,6 +1163,7 @@ config.ssh_domain = Domain
config.ssh_port = Port config.ssh_port = Port
config.ssh_listen_port = Listen Port config.ssh_listen_port = Listen Port
config.ssh_root_path = Root Path config.ssh_root_path = Root Path
config.ssh_rewrite_authorized_keys_at_start = Rewrite authorized_keys At Start
config.ssh_key_test_path = Key Test Path config.ssh_key_test_path = Key Test Path
config.ssh_keygen_path = Keygen ('ssh-keygen') Path config.ssh_keygen_path = Keygen ('ssh-keygen') Path
config.ssh_minimum_key_size_check = Minimum Key Size Check config.ssh_minimum_key_size_check = Minimum Key Size Check

4
pkg/bindata/bindata.go

File diff suppressed because one or more lines are too long

2
templates/admin/config.tmpl

@ -61,6 +61,8 @@
{{if not .SSH.StartBuiltinServer}} {{if not .SSH.StartBuiltinServer}}
<dt>{{.i18n.Tr "admin.config.ssh_root_path"}}</dt> <dt>{{.i18n.Tr "admin.config.ssh_root_path"}}</dt>
<dd>{{.SSH.RootPath}}</dd> <dd>{{.SSH.RootPath}}</dd>
<dt>{{.i18n.Tr "admin.config.ssh_rewrite_authorized_keys_at_start"}}</dt>
<dd><i class="fa fa{{if .SSH.RewriteAuthorizedKeysAtStrat}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.ssh_key_test_path"}}</dt> <dt>{{.i18n.Tr "admin.config.ssh_key_test_path"}}</dt>
<dd>{{.SSH.KeyTestPath}}</dd> <dd>{{.SSH.KeyTestPath}}</dd>
<dt>{{.i18n.Tr "admin.config.ssh_keygen_path"}}</dt> <dt>{{.i18n.Tr "admin.config.ssh_keygen_path"}}</dt>

Loading…
Cancel
Save