Sha256: 3a58a2c21210b4a01dd155370beb7e91f06fa40188a2d5c36d9f468b4251bffd

Contents?: true

Size: 721 Bytes

Versions: 4

Compression:

Stored size: 721 Bytes

Contents

<%= render_void_table(@articles.size, 7)  %>
<% for article in @articles %>
<tr <%= alternate_class %>>
  <td> <%= link_to h(article.title), :action => 'edit', :id => article.id %></td>
  <td><%= article.categories.map { |c| link_to h(c.name), {:controller => 'content', :action => 'index', "search[category]" => c.id}}.join(", ") %></td>
  <td><%= article.published_at.strftime("%m/%d/%Y") %></td>
  <td><%= author_link(article)%></td>
  <td><%= link_to_published article %></td>
  <td class="operation"><%= (article.allow_comments?) ? link_to(article.comments.ham.size.to_s, :controller => '/admin/feedback', :id => article.id, :action => 'article') : '-' %></td>
</tr>
<% end %>
<%= display_pagination(@articles, 7)%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-5.4.3 app/views/admin/content/_article_list.html.erb
typo-5.4.2 app/views/admin/content/_article_list.html.erb
typo-5.4.1 app/views/admin/content/_article_list.html.erb
typo-5.4 app/views/admin/content/_article_list.html.erb