diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-06 23:44:26 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-06 23:44:26 +0200 |
commit | 6952a6d76f9421c1238b052b49c8959453bf195c (patch) | |
tree | f154db7f0b67a709aea14034bf375a47fd77e386 /app | |
parent | 1e042ac251119c5e3b0ef8e76f3a6d9420fba98b (diff) | |
download | gitlab-ce-docs/refactor-ssh-keys.tar.gz |
First take on refactoring the SSH keys docsdocs/refactor-ssh-keys
- Split ssh/README.md to user/profile/ssh_keys.md and user/project/deploy_keys.md
- Deprecate gitlab-basics/create-your-ssh-keys.md and move its info in user/profile/ssh_keys.md
- Change links in views
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/deploy_keys/new.html.haml | 2 | ||||
-rw-r--r-- | app/views/profiles/keys/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/deploy_keys/_form.html.haml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/deploy_keys/new.html.haml b/app/views/admin/deploy_keys/new.html.haml index 5c410a695bf..ae59840eff1 100644 --- a/app/views/admin/deploy_keys/new.html.haml +++ b/app/views/admin/deploy_keys/new.html.haml @@ -14,7 +14,7 @@ .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 "here", help_page_path("user/project/deploy_keys") = f.text_area :key, class: "form-control thin_area", rows: 5 .form-actions diff --git a/app/views/profiles/keys/index.html.haml b/app/views/profiles/keys/index.html.haml index a42b3b8eb38..d046d317b0b 100644 --- a/app/views/profiles/keys/index.html.haml +++ b/app/views/profiles/keys/index.html.haml @@ -11,7 +11,7 @@ Add an SSH key %p.profile-settings-content Before you can add an SSH key you need to - = link_to "generate it.", help_page_path("ssh/README") + = link_to "generate it.", help_page_path("user/profile/ssh_keys") = render 'form' %hr %h5 diff --git a/app/views/projects/deploy_keys/_form.html.haml b/app/views/projects/deploy_keys/_form.html.haml index 901605f7ca3..e2803f5fda8 100644 --- a/app/views/projects/deploy_keys/_form.html.haml +++ b/app/views/projects/deploy_keys/_form.html.haml @@ -9,5 +9,5 @@ .form-group %p.light.append-bottom-0 Paste a machine public key here. Read more about how to generate it - = link_to "here", help_page_path("ssh/README") + = link_to "here", help_page_path("user/project/deploy_keys") = f.submit "Add key", class: "btn-create btn" |