Project

General

Profile

Download (1.26 KB) Statistics
| Branch: | Tag: | Revision:

root / app / views / admin / artwork_step_images / show.rhtml @ 7c5b9a4a

1
<h2><%= (@artwork_step_image == @artwork_step_image.artwork.image) ? "" : _("Artwork Step for") + " " %><i><%= @artwork.title %></i></h2>
2

    
3
<h3><%= @artwork_step_image.date %></h3>
4
<% if @artwork_step_image.comment %>
5
<p><%= textilize(@artwork_step_image.comment) %></p>
6
<% end %>
7
<p><%= display_thumbnail(@artwork_step_image) %></p>
8

    
9
<p>
10
<%=
11
stacking_table do |table|
12
  table.category _("Image Properties") do |cat|
13
    cat.content [_("MIME Type:"), @artwork_step_image.content_type]
14
    cat.content [_("Image Size:"), @artwork_step_image.human_size]
15
    cat.content [_("File Size:"), @artwork_step_image.size]
16
  end
17
  table.category _("EXIF Infos") do |cat|
18
    exif = Exif.new(@artwork_step_image.full_filename)
19
    if exif.list_tags(Exif::IFD::EXIF).empty?
20
      cat.content _("No EXIF infos")
21
    else
22
        exif.each_entry { |a,b| cat.content [a, b] }
23
    end
24
  end
25
  table.category _("Artwork Step Status") do |cat|
26
    # created_by / updated_by not supported yet
27
    cat.content [_("Entry First Created:"), "#{display_timestamp(@artwork_step_image.created_at)}"]
28
    cat.content [_("Entry Last Updated:"), "#{display_timestamp(@artwork_step_image.updated_at)}"]
29
  end
30
end
31
%>
32
</p>
33
<%= display_standard_item_actions %><br/>
34
<p><%= link_to_resource_index _("Display all steps") %></p>
(5-5/5)