26 lines
618 B
Plaintext
26 lines
618 B
Plaintext
<div id="index_table">
|
|
<h3><%= @category.title %></h3>
|
|
<table class="table main-list">
|
|
<thead>
|
|
<tr class="sort-header">
|
|
<% @table_fields.each do |f| %>
|
|
<%= thead(f) %>
|
|
<% end %>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% if !@tickets.nil? %>
|
|
<%= render :partial => "ticket_by_c", :collection => @tickets %>
|
|
<% else %>
|
|
<tr><td colspan="5">No tickets for <%= @category.title rescue "" %></td></tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<%=
|
|
content_tag :div, class: "bottomnav clearfix" do
|
|
content_tag :div, paginate(@tickets), class: "pagination pagination-centered"
|
|
end
|
|
%>
|
|
</div>
|
|
|