Revision 122c63c4
Added by Marc Dequènes over 15 years ago
- ID 122c63c44bf7ff66218ee5475c0debe51e4c08e3
app/views/admin/artworks/show.rhtml | ||
---|---|---|
<h2><%= sprintf(_("Artwork '%s'"), @artwork.title) %></h2>
|
||
|
||
<% if @artwork.image %>
|
||
<h3><%= @artwork.image.date %></h3>
|
||
<% end %>
|
||
<% if @artwork.comment %>
|
||
<p><%= textilize(@artwork.comment) %></p>
|
||
<% end %>
|
||
... | ... | |
text += "-"
|
||
end
|
||
cat.content [_("Set / Group:"), text]
|
||
cat.content [_("Size:"), @artwork.artwork_size.human_size]
|
||
cat.content [_("Size:"), @artwork.artwork_size ? @artwork.artwork_size.human_size : ""]
|
||
cat.content [_("Materials:"), display_list(@artwork.artwork_materials.collect{|t| t.name})]
|
||
cat.content [_("Supports:"), display_list(@artwork.artwork_supports.collect{|t| t.name})]
|
||
end
|
Also available in: Unified diff
[fix] check artwork properties/subobjects better before displaying