From aa50408ecb5c7355d7cac86f7a59f02ae087714c Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 22 Aug 2012 03:56:53 +0300 Subject: 1. Better message if no ssh key 2. SSH Keys Help page --- app/views/shared/_no_ssh.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/views/shared/_no_ssh.html.haml (limited to 'app/views/shared/_no_ssh.html.haml') diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml new file mode 100644 index 00000000000..b6ab666bc5d --- /dev/null +++ b/app/views/shared/_no_ssh.html.haml @@ -0,0 +1,8 @@ +- if current_user.require_ssh_key? + %h6.error_message + %span + You wont be able to pull/push project code unless you + %strong + = link_to new_key_path, class: "vlink" do + add SSH key + to your profile -- cgit v1.2.3