merge into public

This commit is contained in:
Andrey Kumanyaev 2013-01-19 21:33:38 +04:00 committed by Dmitriy Zaporozhets
parent 7d3efec7d1
commit 911f6eb106
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,23 @@
.teams_box
%h5.title
My Teams
%small
(#{teams.count})
%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|
%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:
%span= current_user.authorized_projects.in_team(team).count