1 <table class="table table-bordered" style="table-layout: fixed">
6 <th style="width:1.5em">d/l</th>
7 <th style="width: 7em; text-align:right">size</th>
10 <% if @object then @object.files.sort_by{|f|f[1]}.each do |file| %>
11 <% file_path = "#{file[0]}/#{file[1]}" %>
18 <%= link_to file[1], {controller: 'collections', action: 'show_file', uuid: @object.uuid, file: file_path, size: file[2], disposition: 'inline'}, {title: 'View in browser'} %>
22 <div style="display:inline-block">
23 <%= link_to raw('<i class="icon-download"></i>'), {controller: 'collections', action: 'show_file', uuid: @object.uuid, file: file_path, size: file[2], disposition: 'attachment'}, {class: 'label label-info', title: 'Download'} %>
27 <td style="text-align:right">
28 <%= raw(human_readable_bytes_html(file[2])) %>