22 lines
817 B
Plaintext
22 lines
817 B
Plaintext
%table#myTable.tablesorter.repo-projects{:cellpadding => "0", :cellspacing => "0"}
|
|
%thead
|
|
%tr
|
|
%th.th1= t("activerecord.attributes.project.name")
|
|
%th.th2= t("activerecord.attributes.project.description")
|
|
%th.th3= t("layout.remove")
|
|
%tbody= render :partial => 'repositories/project', :collection => @projects
|
|
|
|
-#%table.tablesorter
|
|
%tr
|
|
%th.first= t("activerecord.attributes.project.name")
|
|
%th.
|
|
%th.last
|
|
- @projects.each do |project|
|
|
%tr{:class => cycle("odd", "even")}
|
|
%td
|
|
= link_to project.name, project_path(project)
|
|
%td.last
|
|
= link_to t("layout.show"), project_path(project)
|
|
\|
|
|
= link_to t("layout.delete"), url_for(:action => :remove_project, :project_id => project.id), :confirm => t("layout.projects.confirm_delete")
|