Project

General

Profile

Download (1.26 KB) Statistics
| Branch: | Tag: | Revision:
<h2><%= (@artwork_step_image == @artwork_step_image.artwork.image) ? "" : _("Artwork Step for") + " " %><i><%= @artwork.title %></i></h2>

<h3><%= @artwork_step_image.date %></h3>
<% if @artwork_step_image.comment %>
<p><%= textilize(@artwork_step_image.comment) %></p>
<% end %>
<p><%= display_thumbnail(@artwork_step_image) %></p>

<p>
<%=
stacking_table do |table|
table.category _("Image Properties") do |cat|
cat.content [_("MIME Type:"), @artwork_step_image.content_type]
cat.content [_("Image Size:"), @artwork_step_image.human_size]
cat.content [_("File Size:"), @artwork_step_image.size]
end
table.category _("EXIF Infos") do |cat|
exif = Exif.new(@artwork_step_image.full_filename)
if exif.list_tags(Exif::IFD::EXIF).empty?
cat.content _("No EXIF infos")
else
exif.each_entry { |a,b| cat.content [a, b] }
end
end
table.category _("Artwork Step Status") do |cat|
# created_by / updated_by not supported yet
cat.content [_("Entry First Created:"), "#{display_timestamp(@artwork_step_image.created_at)}"]
cat.content [_("Entry Last Updated:"), "#{display_timestamp(@artwork_step_image.updated_at)}"]
end
end
%>
</p>
<%= display_standard_item_actions %><br/>
<p><%= link_to_resource_index _("Display all steps") %></p>
(5-5/5)