Index: app/views/issues/_history.html.erb =================================================================== --- app/views/issues/_history.html.erb (revision 14637) +++ app/views/issues/_history.html.erb (working copy) @@ -13,7 +13,17 @@
  • <%= string %>
  • <% end %> + <% if Setting.thumbnails_enabled? %> + <% thumbnail_attachments = journal.details.map{|d| d.property == 'attachment' and !d.value.blank? and Attachment.find_by_id(d.prop_key)}.select{|a| a and a.thumbnailable? } %> + <% if thumbnail_attachments.any? %> +
    + <% thumbnail_attachments.each do |attachment| %> +
    <%= thumbnail_tag(attachment) %>
    + <% end %> +
    + <% end %> <% end %> + <% end %> <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %> Index: public/stylesheets/application.css =================================================================== --- public/stylesheets/application.css (revision 14637) +++ public/stylesheets/application.css (working copy) @@ -590,7 +590,8 @@ div.thumbnails {margin-top:0.6em;} div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;} -div.thumbnails img {margin: 3px;} +div.thumbnails img {margin: 3px; vertical-align: middle;} + #history div.thumbnails {margin-left: 2em;} p.other-formats { text-align: right; font-size:0.9em; color: #666; } .other-formats span + span:before { content: "| "; }