File: files.erb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (11 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (9)
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>