Sha256: d28262001c7d8bcd16d0dfe523a180e8894ac6194b0701cb4c8105c6e3b9c59c
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
<% @page_heading = _('Uploads') %> <% subtabs_for(:content) %> <%= render :partial => 'upload' -%> <table> <tr> <th><%= _("Filename")%> <small>(<%= _('right-click for link')%>)</small></th> <th><%= _("Content Type")%></th> <th><%= _("File Size")%></th> <th><%= _("Date")%></th> <th><%= _("Delete")%></th> </tr> <%= render_void_table(@resources.size, 6) %> <% for upload in @resources -%> <tr <%= alternate_class -%>> <td><%= link_to ("#{upload.filename}", "#{this_blog.base_url}/files/#{upload.filename}", {:rel => 'lightbox'}) -%></td> <td> <%= task_edit_resource_mime(upload.mime, upload.id) %> <div id="edit-resource-mime-<%= upload.id %>" style="display:none;position:absolute;"> <%= render :partial => "mime_edit", :locals => {:id => upload.id, :mime => upload.mime} %> </div> </td> <td><%=h upload.size rescue 0 -%> bytes</td> <td><%= format_date upload.created_at -%></td> <td class="operation"><%= link_to _("delete"), {:action => 'destroy', :id => upload.id, :search => params[:search], :page => params[:page] }, :confirm => _("Are you sure?"), :method => :post %></td> </tr> <% end -%> <%= display_pagination(@resources, 6)%> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | app/views/admin/resources/index.html.erb |
typo-5.4.4 | app/views/admin/resources/index.html.erb |