<%= t("thumbnail") %> | <%= sort_link @search, :attachment_file_name, t("upload.file_name") %> | <%= sort_link @search, :description, t("description") %> | <%= sort_link @search, :attachment_file_size, t("upload.size") %> | <%= t("action") %> |
---|---|---|---|---|
<% if upload.image_content? %> <%= link_to image_tag(upload.attachment.url(:mini)), upload.attachment.url(:large) %> <% end %> | <%= link_to upload.attachment_file_name, upload.attachment.url(:original) %> | <%= upload.alt %> | <%= upload.attachment_file_size.to_i / 1024 %> kb | <%= link_to_with_icon('edit', t("edit"), edit_admin_upload_url(upload)) %> <%= link_to_delete upload, {:url => admin_upload_url(upload) }%> |
<%= link_to icon('add') + ' ' + t(".new_upload"), new_admin_upload_url, :id => "new_image_link" %>
<% content_for :head do %> <% end %>