gitlabhq/app/views/dashboard/_teams.html.haml

26 lines
703 B
Plaintext
Raw Normal View History

2013-01-19 18:33:38 +01:00
.teams_box
%h5.title
My Teams
%small
(#{@teams.count})
2013-01-19 18:33:38 +01:00
%span.right
= link_to new_team_path, class: "btn very_small info" do
%i.icon-plus
New Team
%span.right
= link_to teams_path, class: "btn very_small info" do
%i.icon-user
All Teams
%ul.well-list
- @teams.each do |team|
2013-01-19 18:33:38 +01:00
%li
= link_to team_path(id: team.path), class: dom_class(team) do
%strong.well-title= truncate(team.name, length: 35)
%span.arrow
→
%span.last_activity
%strong Projects:
2013-01-24 09:16:03 +01:00
%span= "#{team.projects.count}, "
%strong Members:
%span= team.members.count