gitlab-org--gitlab-foss/app/views/groups/_projects.html.haml
Dmitriy Zaporozhets 6e2a75df8e
Dont truncate project names on group page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-12 16:16:29 +03:00

21 lines
745 B
Text

.panel.panel-default
.panel-heading
Projects (#{projects.count})
- if can? current_user, :create_projects, @group
.panel-head-actions
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do
%i.icon-plus
New project
%ul.well-list
- if projects.blank?
.nothing-here-block This group has no projects yet
- projects.each do |project|
%li.project-row
= link_to project_path(project), class: dom_class(project) do
.dash-project-access-icon
= visibility_level_icon(project.visibility_level)
%span.str-truncated
%span.project-name
= project.name
%span.arrow
%i.icon-angle-right