gitlabhq/app/views/groups/_people_filter.html.haml

17 lines
585 B
Plaintext
Raw Normal View History

2012-11-29 18:14:05 +01:00
= form_tag people_group_path(@group), method: 'get' do
%fieldset
%legend Projects:
%ul.nav.nav-pills.nav-stacked
- @projects.each do |project|
%li{class: ("active" if params[:project_id] == project.id.to_s)}
= link_to people_group_path(@group, project_id: project.id) do
= project.name_with_namespace
2013-01-30 15:40:43 +01:00
%small.pull-right= project.users.count
2013-02-18 19:31:43 +01:00
- if @projects.blank?
%p.nothing_here_message This group has no projects yet
2012-11-29 18:14:05 +01:00
%fieldset
%hr
2013-01-30 15:40:43 +01:00
= link_to "Reset", people_group_path(@group), class: 'btn pull-right'
2012-11-29 18:14:05 +01:00