Files
gitlabhq/app/views/groups/_projects.html.haml
T
2013-07-19 15:11:02 +03:00

23 lines
796 B
Plaintext

.ui-box
.title
%strong= @group.name
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-small", title: 'New Project' do
%i.icon-plus
%span.only-wide New Project
%ul.well-list
- if projects.blank?
%p.nothing_here_message This groups has no projects yet
- projects.each do |project|
%li.project-row
= link_to project_path(project), class: dom_class(project) do
%span.project-name
= truncate(project.name, length: 25)
%span.arrow
%i.icon-angle-right
%span.last-activity
%span Last activity:
%span.date= project_last_activity(project)