File: files.erb

package info (click to toggle)
ruby-enumerable-statistics 2.0.7%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,132 kB
  • sloc: ruby: 2,220; ansic: 1,921; javascript: 408; makefile: 8; sh: 4
file content (11 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
<% if @files && @files.size > 0 %>
  <h2>File Listing</h2>
  <ul id="files" class="index_inline_list">
  <% n = 1 %>
  <% @files.each_with_index do |file, i| %>
    <li class="r<%= n %>"><%= link_file(file) %></li>
    <% n = n == 2 ? 1 : 2 %>
  <% end %>
  </ul>
<% end %>
<div class="clear"></div>