2012-03-05 23:29:40 +01:00
|
|
|
- if @projects.any?
|
2012-04-20 18:11:49 +02:00
|
|
|
.projects
|
|
|
|
.activities.span8
|
2012-10-22 22:37:50 +02:00
|
|
|
= render "events/event_last_push", event: @last_push
|
2012-08-22 02:56:53 +02:00
|
|
|
= render 'shared/no_ssh'
|
2012-04-14 10:20:45 +02:00
|
|
|
- if @events.any?
|
2012-07-21 09:23:05 +02:00
|
|
|
.content_list= render @events
|
2012-06-04 00:37:27 +02:00
|
|
|
- else
|
2012-06-12 13:58:44 +02:00
|
|
|
%h4.nothing_here_message Projects activity will be displayed here
|
2012-07-21 09:23:05 +02:00
|
|
|
.loading.hide
|
2012-04-20 18:11:49 +02:00
|
|
|
.side
|
2012-10-02 19:42:15 +02:00
|
|
|
- if @groups.present?
|
2012-10-02 18:37:53 +02:00
|
|
|
= render "groups", groups: @groups
|
|
|
|
= render "projects", projects: @projects
|
2012-06-12 22:13:42 +02:00
|
|
|
%div
|
|
|
|
%span.rss-icon
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to dashboard_path(:atom, { private_token: current_user.private_token }) do
|
|
|
|
= image_tag "rss_ui.png", title: "feed"
|
2012-06-12 22:13:42 +02:00
|
|
|
%strong News Feed
|
|
|
|
|
2012-09-19 08:14:07 +02:00
|
|
|
%hr
|
|
|
|
.gitlab-promo
|
|
|
|
= link_to "Homepage", "http://gitlabhq.com"
|
|
|
|
= link_to "Blog", "http://blog.gitlabhq.com"
|
|
|
|
= link_to "@gitlabhq", "https://twitter.com/gitlabhq"
|
|
|
|
|
|
|
|
|
2012-06-04 00:37:27 +02:00
|
|
|
- else
|
2012-06-11 07:52:44 +02:00
|
|
|
%h3.nothing_here_message There are no projects you have access to.
|
2012-03-05 23:29:40 +01:00
|
|
|
%br
|
2012-06-11 07:52:44 +02:00
|
|
|
%h4.nothing_here_message
|
|
|
|
- if current_user.can_create_project?
|
2012-03-05 23:29:40 +01:00
|
|
|
You can create up to
|
|
|
|
= current_user.projects_limit
|
2012-06-11 07:52:44 +02:00
|
|
|
projects. Click on button below to add a new one
|
2012-03-05 23:29:40 +01:00
|
|
|
.link_holder
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to new_project_path, class: "btn primary" do
|
2012-06-04 00:37:27 +02:00
|
|
|
New Project »
|
2012-06-11 07:52:44 +02:00
|
|
|
- else
|
|
|
|
If you will be added to project - it will be displayed here
|
2012-07-21 09:23:05 +02:00
|
|
|
|
|
|
|
|
2012-08-22 02:56:53 +02:00
|
|
|
:javascript
|
2012-07-21 09:23:05 +02:00
|
|
|
$(function(){ Pager.init(20); });
|