소스 검색

templates/admin/config: show SSH.StartBuiltinServer

Unknwon 7 년 전
부모
커밋
63a263f542
3개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      conf/locale/locale_en-US.ini
  2. 0 0
      pkg/bindata/bindata.go
  3. 2 0
      templates/admin/config.tmpl

+ 1 - 0
conf/locale/locale_en-US.ini

@@ -1163,6 +1163,7 @@ config.ssh_domain = Domain
 config.ssh_port = Port
 config.ssh_listen_port = Listen Port
 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_keygen_path = Keygen ('ssh-keygen') Path
 config.ssh_minimum_key_size_check = Minimum Key Size Check

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
pkg/bindata/bindata.go


+ 2 - 0
templates/admin/config.tmpl

@@ -61,6 +61,8 @@
 							{{if not .SSH.StartBuiltinServer}}
 								<dt>{{.i18n.Tr "admin.config.ssh_root_path"}}</dt>
 								<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>
 								<dd>{{.SSH.KeyTestPath}}</dd>
 								<dt>{{.i18n.Tr "admin.config.ssh_keygen_path"}}</dt>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.