diff options
Diffstat (limited to 'app/views/admin/deploy_keys/new.html.haml')
-rw-r--r-- | app/views/admin/deploy_keys/new.html.haml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/deploy_keys/new.html.haml b/app/views/admin/deploy_keys/new.html.haml index 5b46b3222a9..d052df27bf1 100644 --- a/app/views/admin/deploy_keys/new.html.haml +++ b/app/views/admin/deploy_keys/new.html.haml @@ -1,5 +1,5 @@ -- page_title "New Deploy Key" -%h3.page-title New public deploy key +- page_title "新部署密钥" +%h3.page-title 新的公开的部署密钥 %hr %div @@ -11,17 +11,17 @@ %li= msg .form-group - = f.label :title, class: "control-label" + = f.label :title, "标题", class: "control-label" .col-sm-10= f.text_field :title, class: 'form-control' .form-group - = f.label :key, class: "control-label" + = f.label :key, "密钥", class: "control-label" .col-sm-10 %p.light - Paste a machine public key here. Read more about how to generate it - = link_to "here", help_page_path("ssh", "README") + 在这里粘贴机器公钥。如何生成密钥请点击 + = link_to "这里", help_page_path("ssh", "README") = f.text_area :key, class: "form-control thin_area", rows: 5 .form-actions - = f.submit 'Create', class: "btn-create btn" - = link_to "Cancel", admin_deploy_keys_path, class: "btn btn-cancel" + = f.submit '创建', class: "btn-create btn" + = link_to "取消", admin_deploy_keys_path, class: "btn btn-cancel" |