<% last ||= false -%> <% show_author ||= false%>
attachment_cloud <%='last' if last%>">

<%=image_tag("icons/attach.png",:class=>"icon", :title => t('attachment.home.one', :space=>attachment.space.name))%> <%= link_to(sanitize(attachment.filename), space_attachment_path(attachment.space, attachment, :format => attachment.format!),:class=>"unified_news") %> <%= t('created_time_ago', :time => sanitize(time_ago_in_words(attachment.created_at))) %>

  • <% if show_author -%> <%=t('author')%>:<%=link_to(attachment.author.name,user_path(attachment.author),:class=>"unified_user")%> <% end -%>