Sha256: b58a00271d63ceba71d2ae9f5e6b162afb3686224409a0859a83b1d43d4911f0

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

<table>
  <tr>
    <th><%= _("Title") %></th>
    <th><%= _("Posts") %></th>
  </tr>
  <%= render_void_table(@categories.size, 2)  %>
  
  <% for category in @categories -%>
  <tr <%= alternate_class -%> id="category_<%= category.id -%>">
    <td><%= link_to_edit category.name, category %></td>
    <td><%= link_to_permalink category, pluralize(category.articles.size, _('no articles') , _('1 article'), __('%d articles')) %></td>
  </tr>  
  <% end -%>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-5.4.3 app/views/admin/categories/_categories.html.erb
typo-5.4.2 app/views/admin/categories/_categories.html.erb
typo-5.4.1 app/views/admin/categories/_categories.html.erb
typo-5.4 app/views/admin/categories/_categories.html.erb