2007-03-30 04:36:52 +00:00
|
|
|
<div class="project-state-group" id="list-<%= state %>-projects-container" <%= " style=\"display:none\"" if project_state_group.empty? %>>
|
2011-01-16 18:14:07 +01:00
|
|
|
<h2><span id="<%= state %>-projects-count" class="badge"><%= project_state_group.length %></span><%= t('states.'+state+'_plural' )%> <%= t('common.projects') %></h2>
|
|
|
|
|
<div class="menu_sort"><span class="sort_separator"><%= t('common.sort.sort') %> </span>
|
2010-08-03 21:00:48 +02:00
|
|
|
<div class="alpha_sort">
|
2011-04-29 23:15:41 +02:00
|
|
|
<%= link_to(t("common.sort.alphabetically"), alphabetize_projects_path(:state => state),
|
2011-02-09 20:41:34 +01:00
|
|
|
:id => "#{state}_alphabetize_link", :class => "alphabetize_link", :title => t('common.sort.alphabetically_title'), :x_confirm_message => t('common.sort.alphabetically_confirm')) %>
|
2009-09-22 07:37:37 -04:00
|
|
|
</div><span class="sort_separator"> | </span><div class="tasks_sort">
|
2011-04-29 23:15:41 +02:00
|
|
|
<%= link_to(t("common.sort.by_task_count"), actionize_projects_path(:state => state),
|
2011-02-09 20:41:34 +01:00
|
|
|
:id => "#{state}_actionize_link", :class => "actionize_link", :title => t('common.sort.by_task_count_title'), :x_confirm_message => t('common.sort.by_task_count_title_confirm')) %>
|
2009-09-22 07:37:37 -04:00
|
|
|
</div>
|
2008-10-25 17:43:52 -02:00
|
|
|
</div>
|
2010-08-03 21:00:48 +02:00
|
|
|
|
2007-12-03 03:24:05 +00:00
|
|
|
<div id="list-<%= state %>-projects" class="project-list">
|
2007-03-30 04:36:52 +00:00
|
|
|
<%= render :partial => 'project_listing', :collection => project_state_group %>
|
|
|
|
|
</div>
|
2008-09-23 17:06:14 -03:00
|
|
|
</div>
|