summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-14 11:20:45 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-14 11:20:45 +0300
commit95fde9bd7a1fb0a902c33f03f641909043df4125 (patch)
tree4444cc609b2d0ec6b6ecae36d498e9a72b27a735 /app/views/projects
parent5f31989a0501c12ae609709f8707841ec3fc7e31 (diff)
downloadgitlab-ce-95fde9bd7a1fb0a902c33f03f641909043df4125.tar.gz
Projects page as dashboard. Old dashboard removed
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/index.html.haml14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml
index 68edd9b405c..d918259d883 100644
--- a/app/views/projects/index.html.haml
+++ b/app/views/projects/index.html.haml
@@ -1,7 +1,19 @@
- if @projects.any?
.row
.span8
- = render @events
+ - 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
+ - if @events.any?
+ = render @events
+ - else
+ .padded
+ %strong.cgray Projects activity will be displayed here
.span4.right
%div.leftbar.ui-box
%h5