Sha256: 1187be61838b0cb89c55729cf62b6191dbc03624c2298b29f7f9d4a9bbb2d793

Contents?: true

Size: 829 Bytes

Versions: 5

Compression:

Stored size: 829 Bytes

Contents

- content_for :content do
  %h2= h(name)
  %h3= h(t('runit.services.log.downloads'))
  %table
    %thead
      %tr
        %th= h(t('runit.services.log.modified'))
        %th= h(t('runit.services.log.file_name'))
        %th= h(t('runit.services.log.file_size'))
        %th
    %tfoot
      %tr
        %td{:colspan=>4}= h(t('runit.services.log.about_utc'))
    %tbody
      - files.each do |f|
        %tr{:class=> even_or_odd ? 'even' : 'odd'}
          %td= h(I18n.l(f[:modified]))
          %td= h(f[:label])
          %td{:title=>h(f[:size])}= h(human_bytes(f[:size]))
          %td
            - filenamewithsubdir = f[:subdir] ? h(f[:subdir])+'/'+h(f[:name]) : h(f[:name])
            %a{:href=>"/#{h(name)}/log-download/#{filenamewithsubdir}"}
              = h(t('runit.services.log.download'))
              …

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
runit-man-2.4.14 views/log_downloads.haml
runit-man-2.4.12 views/log_downloads.haml
runit-man-2.4.11 views/log_downloads.haml
runit-man-2.4.10 views/log_downloads.haml
runit-man-2.4.9 views/log_downloads.haml