2012-01-12 16:37:50 +00:00
|
|
|
- columns = [{:type => 'html', :searchable => false}, {:type => 'html'}, {:type => nil, :sortable => false, :searchable => false}]
|
|
|
|
= raw datatable(columns, {:sort_by => "[1, 'asc']", :search_label => t("layout.search_by_name"), :processing => t("layout.processing"),
|
|
|
|
:pagination_labels => {:first => t("datatables.first_label"), :previous => t("datatables.previous_label"),
|
|
|
|
:next => t("datatables.next_label"), :last => t("datatables.last_label")},
|
|
|
|
:empty_label => t("datatables.empty_label"),
|
|
|
|
:info_label => t("datatables.info_label"),
|
|
|
|
:info_empty_label => t("datatables.info_empty_label"),
|
|
|
|
:filtered_label => t("datatables.filtered_label"),
|
|
|
|
:ajax_source => "#{url_for :controller => :repositories, :action => :projects_list, :id => @repository.id}" })
|
2011-12-30 22:42:58 +00:00
|
|
|
|
|
|
|
%table.table.datatable
|
2012-01-11 21:12:56 +00:00
|
|
|
%thead
|
|
|
|
%tr
|
2012-01-12 16:37:50 +00:00
|
|
|
%th.first{:style => 'width: 80px'}= t("activerecord.attributes.user.uname")
|
2012-01-11 21:12:56 +00:00
|
|
|
%th= t("activerecord.attributes.project.name")
|
|
|
|
%th.last
|
|
|
|
%tbody
|
2012-01-12 16:37:50 +00:00
|
|
|
%br
|