public
Description: zena is a state-of-the-art CMS (content managment system) based on Ruby on Rails with a focus on usability, ease of customization and web 2.0 goodness (application like behaviour).
Homepage: http://zenadmin.org
Clone URL: git://github.com/zena/zena.git
zena / app / views / nodes / _list_nodes.rhtml
100644 9 lines (9 sloc) 0.433 kb
1
2
3
4
5
6
7
8
9
<table class="docs" cellspacing='0'>
  <% docs.each_with_index do |doc, i| %>
  <% if i > 0 -%><tr><td colspan='2' class='result_break'></td></tr><% end -%>
  <tr>
    <td class='docpv'><%= link_to img_tag(doc, :mode=>'mini'), data_path(doc) %><p><%= fsize(doc.c_size) %></p></td>
    <td class='docinfo'><p class='doc_title'><%= link_to(doc.v_title, zen_path(doc)) %></p><%= zazen(doc.v_summary) %></td>
  </tr>
  <% end %>
</table>