2013-09-08 12:56:43 +01:00
|
|
|
- pr_groups = projects.in_groups(2)
|
2013-09-10 18:03:00 +01:00
|
|
|
%table
|
|
|
|
%tbody
|
|
|
|
- pr_groups[0].each_with_index do |project, ind|
|
2014-01-21 04:51:49 +00:00
|
|
|
%tr{class: ind.odd? ? 'odd' : 'even'}
|
2013-09-10 18:03:00 +01:00
|
|
|
- [project, pr_groups[1][ind]].each do |project|
|
|
|
|
%th
|
|
|
|
- if project.present?
|
2014-01-21 04:51:49 +00:00
|
|
|
.project-link= link_to short_message(project.name, 60), project, title: project.name
|
2013-09-10 18:03:00 +01:00
|
|
|
.both
|
|
|
|
.row-fluid
|
2014-01-21 04:51:49 +00:00
|
|
|
= datetime_moment project.updated_at, class: :span3
|
2013-09-10 18:03:00 +01:00
|
|
|
- commits_count = project.total_commits_count
|
|
|
|
.span3= "#{commits_count > 10000 ? '10000+' : commits_count} #{commits_pluralize(commits_count)}"
|
|
|
|
%br
|
2014-01-21 04:51:49 +00:00
|
|
|
%div{style: 'margin: 10px;'}= will_paginate projects
|
2013-09-10 18:03:00 +01:00
|
|
|
|