Sha256: 090baea6248dbb7f54789c74618a9f1ddad6ebcdcc119a4be3945455505fac30

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 Bytes

Contents

<% @page_heading = _('Images')  %>
<% subtabs_for(:content) %>

<%= render :partial => 'upload' -%>

<table>
<tr>
  <th><%= _("Thumbnail")%> <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) %>
<% @resources.each do |image| %>
<tr>
  <td>
    <a href='<%= "#{this_blog.base_url}/files/#{image.filename}" %>' rel='lightbox'>
      <%= show_thumbnail(image) %>
    </a>
  </td>
  <td><%= image.mime %></td>
  <td><%=h image.size rescue 0 -%> bytes</td>
  <td><%= format_date image.created_at -%></td>
  <td class="operation"><%= link_to _("delete"), {:action => 'destroy', :id => image.id, :search => params[:search], :page => params[:page] },  :confirm => _("Are you sure?"), :method => :post %></td></tr>
<% end %>

</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/resources/images.html.erb
typo-5.4.4 app/views/admin/resources/images.html.erb