content_list.html.erb
423 Bytes
<table class="<%= list_type %>-content">
<tr>
<th><%= _('Title') %></th>
<th><%= _('Last update') %></th>
</tr>
<% contents.each do |content| %>
<% if content.display_to?(user) %>
<%= display_content_in_listing :content=>content, :list_type=>list_type, :recursive=>recursive %>
<% end %>
<% end %>
</table>
<p><%= pagination_links contents, :param_name => 'npage', :page_links => true %></p>