20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
- 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 => {:previous => t("datatables.previous_label"), :next => t("datatables.next_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"),
|
|
:table_dom_id => 'datatable',
|
|
:auto_width => 'false',
|
|
:ajax_source => "#{url_for :controller => :repositories, :action => :projects_list, :id => @repository.id}" })
|
|
|
|
%table#datatable.tablesorter.repo-projects{:cellspacing => 0, :cellpadding => 0}
|
|
%thead
|
|
%tr
|
|
%th.th1= t("activerecord.attributes.user.uname")
|
|
%th.th2= t("activerecord.attributes.project.name")
|
|
%th.buttons
|
|
%tbody
|
|
%br
|