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/dashboard
parent5c7ed6fa26b47ac71ff6ba04720d85df6d74b200 (diff)
1. Better message if no ssh key
2. SSH Keys Help page
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/index.html.haml11
1 files changed, 2 insertions, 9 deletions
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); });