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/dashboard/index.html.haml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'app/views/dashboard') diff --git a/app/views/dashboard/index.html.haml b/app/views/dashboard/index.html.haml index 9fea5acb7cd..ba7d019cb63 100644 --- a/app/views/dashboard/index.html.haml +++ b/app/views/dashboard/index.html.haml @@ -1,14 +1,7 @@ - if @projects.any? .projects .activities.span8 - - if current_user.require_ssh_key? - .alert.alert-error.padded - %span - You wont be able to pull/push project code unless you - %strong - = link_to new_key_path, class: "vlink" do - add new key - to your profile + = render 'shared/no_ssh' - if @events.any? .content_list= render @events - else @@ -57,5 +50,5 @@ If you will be added to project - it will be displayed here -:javascript +:javascript $(function(){ Pager.init(20); }); -- cgit v1.2.3