summaryrefslogtreecommitdiff
path: root/app/views/projects/deploy_keys/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/deploy_keys/index.html.haml')
-rw-r--r--app/views/projects/deploy_keys/index.html.haml28
1 files changed, 14 insertions, 14 deletions
diff --git a/app/views/projects/deploy_keys/index.html.haml b/app/views/projects/deploy_keys/index.html.haml
index 8e24c778b7c..44f7a37a459 100644
--- a/app/views/projects/deploy_keys/index.html.haml
+++ b/app/views/projects/deploy_keys/index.html.haml
@@ -1,43 +1,43 @@
-- page_title "Deploy Keys"
+- page_title "部署密钥"
%h3.page-title
- Deploy keys allow read-only access to the repository
+ 使用部署密钥只读访问存储库
- = link_to new_namespace_project_deploy_key_path(@project.namespace, @project), class: "btn btn-new pull-right", title: "New Deploy Key" do
+ = link_to new_namespace_project_deploy_key_path(@project.namespace, @project), class: "btn btn-new pull-right", title: "新部署密钥" do
%i.fa.fa-plus
- New Deploy Key
+ 新部署密钥
%p.light
- Deploy keys can be used for CI, staging or production servers.
- You can create a deploy key or add an existing one
+ 部署密钥用于 CI 集成、预发布和产品服务器获取版本仓库的代码。
+ 请创建一个新的或增加已存在的 SSH 密钥
%hr.clearfix
.row
.col-md-6.enabled-keys
%h5
- %strong.cgreen Enabled deploy keys
- for this project
+ 本项目
+ %strong.cgreen 已启用的部署密钥
%ul.bordered-list
= render @enabled_keys
- if @enabled_keys.blank?
.light-well
- .nothing-here-block Create a #{link_to 'new deploy key', new_namespace_project_deploy_key_path(@project.namespace, @project)} or add an existing one
+ .nothing-here-block 创建#{link_to '新部署密钥', new_namespace_project_deploy_key_path(@project.namespace, @project)}或增加已存在的
.col-md-6.available-keys
- # If there are available public deploy keys but no available project deploy keys, only public deploy keys are shown.
- if @available_project_keys.any? || @available_public_keys.blank?
%h5
- %strong Deploy keys
- from projects you have access to
+ 可用的
+ %strong 部署密钥
%ul.bordered-list
= render @available_project_keys
- if @available_project_keys.blank?
.light-well
- .nothing-here-block Deploy keys from projects you have access to will be displayed here
+ .nothing-here-block 本项目可用的部署密钥
- if @available_public_keys.any?
%h5
- %strong Public deploy keys
- available to any project
+ 所有项目可用的
+ %strong 公开部署密钥
%ul.bordered-list
= render @available_public_keys