|
|
- if @projects.any?
|
|
- if @projects.any?
|
|
|
.row
|
|
.projects
|
|
|
.span8
|
|
.activities.span8
|
|
|
- if current_user.require_ssh_key?
|
|
- if current_user.require_ssh_key?
|
|
|
.alert.alert-error.padded
|
|
.alert.alert-error.padded
|
|
|
%span
|
|
%span
|
| ... | @@ -14,17 +14,16 @@ |
... | @@ -14,17 +14,16 @@ |
|
|
- else
|
|
- else
|
|
|
.padded
|
|
.padded
|
|
|
%strong.cgray Projects activity will be displayed here
|
|
%strong.cgray Projects activity will be displayed here
|
|
|
.span4.right
|
|
.side
|
|
|
%div.leftbar.ui-box
|
|
.projects_box
|
|
|
%h5
|
|
%h5
|
|
|
Projects
|
|
Projects
|
|
|
%small
|
|
%small
|
|
|
(#{@projects.count})
|
|
(#{@projects.total_count})
|
|
|
- if current_user.can_create_project?
|
|
- if current_user.can_create_project?
|
|
|
%span.right
|
|
%span.right
|
|
|
= link_to new_project_path, :class => "btn very_small info" do
|
|
= link_to new_project_path, :class => "btn very_small info" do
|
|
|
New Project
|
|
New Project
|
|
|
.content_list
|
|
|
|
|
- @projects.each do |project|
|
|
- @projects.each do |project|
|
|
|
= link_to project_path(project), :class => dom_class(project) do
|
|
= link_to project_path(project), :class => dom_class(project) do
|
|
|
%h4
|
|
%h4
|
| ... | @@ -32,6 +31,7 @@ |
... | @@ -32,6 +31,7 @@ |
|
|
= truncate(project.name, :length => 25)
|
|
= truncate(project.name, :length => 25)
|
|
|
%span.right
|
|
%span.right
|
|
|
→
|
|
→
|
|
|
|
.bottom= paginate @projects, :theme => "gitlab"
|
|
|
|
|
|
|
|
- else
|
|
- else
|
|
|
%h3 Nothing here
|
|
%h3 Nothing here
|
| ... | |
... | |
| ... | | ... | |