Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-08-22 04:56:53 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-08-22 04:56:53 +0400
commitaa50408ecb5c7355d7cac86f7a59f02ae087714c (patch)
tree90bc5bea2c601800e1beefdb82e4302bebee5f3f /app/views/shared/_no_ssh.html.haml
parent5c7ed6fa26b47ac71ff6ba04720d85df6d74b200 (diff)
1. Better message if no ssh key
2. SSH Keys Help page
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r--app/views/shared/_no_ssh.html.haml8
1 files changed, 8 insertions, 0 deletions
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