Sha256: f0261d75a23538d2caa4d40300d5afd99419a4fb7b96d9adbb68be274772179f

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

  <% @page_heading =  _("Articles in") + " #{h @category.name}" %>

  <% content_for('tasks') do %>
    <%= task_edit _('Edit this category'), @category.id %>
  <% end %>

  <% form_tag :action=>"new" do %>
  <div class="list">
    <table cellspacing="1" cellpadding="0">
    <% for article in @category.articles -%>
    <tr  <%= alternate_class -%>>
      <td><%= image_tag 'checked.gif' %> <%= link_to h(article.title), :controller => "/admin/content", :action => "show", :id => article.id %></td>
      <td><%= distance_of_time_in_words_to_now article.published_at %> ago</td>
      <td><%= link_to pluralize(article.comments.size, 'comment'), :controller => '/admin/comments', :article_id => article, :action => 'list' %></td>
    </tr>
    <% end -%>
    </table>
  </div>
  <% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-4.1.1 app/views/admin/categories/show.rhtml
typo-4.1 app/views/admin/categories/show.rhtml