Browse Source

repo/settings: add description and link to personal SSH keys (#3936)

pull/4150/merge
Unknwon 8 years ago
parent
commit
7b8f086f72
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 1
      conf/locale/locale_en-US.ini
  2. 4
      modules/bindata/bindata.go
  3. 1
      templates/repo/settings/deploy_keys.tmpl

1
conf/locale/locale_en-US.ini

@ -767,6 +767,7 @@ settings.slack_token = Token
settings.slack_domain = Domain
settings.slack_channel = Channel
settings.deploy_keys = Deploy Keys
settings.deploy_keys_helper = <b>Common Gotcha!</b> If you're looking for adding personal public keys, please add them in your <a href="%s%s">account settings</a>.
settings.add_deploy_key = Add Deploy Key
settings.deploy_key_desc = Deploy keys have read-only access. They are not the same as personal account SSH keys.
settings.no_deploy_keys = You haven't added any deploy keys.

4
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long

1
templates/repo/settings/deploy_keys.tmpl

@ -45,6 +45,7 @@
{{end}}
</div>
<br>
<p>{{.i18n.Tr "repo.settings.deploy_keys_helper" AppSubUrl "/user/settings/ssh" | Safe}}</p>
<div {{if not .HasError}}class="hide"{{end}} id="add-deploy-key-panel">
<h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.add_deploy_key"}}

Loading…
Cancel
Save