Sha256: 89bd4e5f8641004f5aa1259d9f30f5481a216656affb52d7419901df2c1b2244
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
%h1 Listing of #{url_root}#{url_path} .table-wrapper %table %thead %tr %th Name %th.new-tab %th.type Type %th.size Size %th.modified Modified %tbody - (directories + files).each do |file| - file = decorate(file) %tr %td %span.icon= file.icon %a.default{href: file.href, **file.listing_attrs}= file.name %td %a.new-tab{href: file.href, target: "_blank", **file.listing_attrs} (New tab) %td= file.type %td= file.directory? || file.virtual? ? "-" : number_to_human_size(file.size) %td= file.virtual? ? "-" : file.mtime.strftime("%e %b %Y %l:%M %p")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
servel-0.5.0 | lib/servel/templates/_listing.haml |