Sha256: ce1602eab9474bfc98b1e96d6038eea5638285b3ef5621e0c906769fd108a83e

Contents?: true

Size: 739 Bytes

Versions: 2

Compression:

Stored size: 739 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 %>
    <%= show_actions article %>
  </td>
  <td><%= article.categories.map { |c| link_to h(c.name), {:controller => 'content', :action => 'index', "search[category]" => c.id}}.join(", ") %></td>
  <td><%= author_link(article)%></td>
  <td>
    <%= format_date article.published_at %><br />
    <%= published_or_not article %>
  </td>
  <td><%= (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

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/content/_article_list.html.erb
typo-5.4.4 app/views/admin/content/_article_list.html.erb