|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if options[:author] %>
|
|
|
|
|
<span class="author" title="<%= attachment.author%>">
|
|
|
|
|
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author) %>,
|
|
|
|
|
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author),:class => "c_orange ml20" %>,
|
|
|
|
|
<%= format_time(attachment.created_on) %>
|
|
|
|
|
</span>
|
|
|
|
|
<% end %>
|
|
|
|
@ -62,11 +62,9 @@
|
|
|
|
|
<% if defined?(thumbnails) && thumbnails %>
|
|
|
|
|
<% images = attachments.select(&:thumbnailable?) %>
|
|
|
|
|
<% if images.any? %>
|
|
|
|
|
<div class="thumbnails">
|
|
|
|
|
<% images.each do |attachment| %>
|
|
|
|
|
<div><%= thumbnail_tag(attachment) %></div>
|
|
|
|
|
<div class="pro_pic fl " width="100" height="73"><%= thumbnail_issue_tag(attachment) %></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|