Sha256: d0674ce6a20f37d690b95227467e270b1289f34f2e0f9cc2fe7e5d5516912893
Contents?: true
Size: 1.05 KB
Versions: 11
Compression:
Stored size: 1.05 KB
Contents
<% if @articles.empty? %> <tr> <td colspan="6"> <%= t('.no_articles') %> </td> </tr> <% end %> <% for article in @articles %> <tr> <td> <% if article.published? %> <%= link_to_permalink(article, article.title, nil, 'published') %> <% else %> <%= link_to(article.title, { controller: '/articles', action: 'preview', id: article.id }, { class: 'unpublished', target: '_new' }) %> <% end %> </td> <td> <%= author_link(article) %> </td> <td> <%= l(article.created_at) %> </td> <td> <%= l(article.published_at) if article.published_at %> </td> <td> <% if article.allow_comments? %> <%= link_to("#{article.comments.ham.size} #{t(".feedback")}".html_safe, controller: '/admin/feedback', id: article.id, action: 'article') %> <% else %> - <% end %> </td> <td> <%= article.text_filter&.name %> </td> <td> <%= show_actions article %> </td> </tr> <% end %> <%= display_pagination(@articles, 5, 'first', 'last') %>
Version data entries
11 entries across 11 versions & 1 rubygems