<%= render_query_totals(@query) %>
<% @query.inline_columns.each do |column| %> <%= column_header(@query, column) %> <% end %> <% if controller_name == 'admin' && action_name == 'projects' %> <% end %> <% grouped_project_list(entries, @query) do |entry, level, group_name, group_count, group_totals| -%> <% if group_name %> <% reset_cycle %> <% if controller_name == 'admin' && action_name == 'projects' %> <% end %> <% end %> "> <% @query.inline_columns.each do |column| %> <%= content_tag('td', column_content(column, entry), :class => column.css_classes) %> <% end %> <% if controller_name == 'admin' && action_name == 'projects' %> <% end %> <% end -%>
  <%= group_name %> <% if group_count %> <%= group_count %> <% end %> <%= group_totals %> <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}", "toggleAllRowGroups(this)", :class => 'toggle-all') %>
<%= link_to(l(:button_archive), archive_project_path(entry, :status => params[:status]), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock') unless entry.archived? %> <%= link_to(l(:button_unarchive), unarchive_project_path(entry, :status => params[:status]), :method => :post, :class => 'icon icon-unlock') if entry.archived? %> <%= link_to(l(:button_copy), copy_project_path(entry), :class => 'icon icon-copy') %> <%= link_to(l(:button_delete), project_path(entry), :method => :delete, :class => 'icon icon-del') %>
<%= pagination_links_full @entry_pages, @entry_count %>