Sha256: fc7875b6c2c01178abf5e36377f4e08d015834972693b9f750d5028410a1cfa8

Contents?: true

Size: 834 Bytes

Versions: 1

Compression:

Stored size: 834 Bytes

Contents

<div class="attachment_section_header">
	<h3><%= @subject ? t('document.not_mine') : t('document.mine') %></h3>
</div>
<% @document_activities.each do |a| %>
	<% document = a.activity_objects.first.document %>
	<div class="attachment_tile">
		<div class="attachment_tile_thumb">
    		<%= link_to big_thumb_for(document), 
                {:controller => "documents", :action => "download", :id => document}, 
 				:type => document.type, 
				:title => document.file_file_name,
				:path => document_path(document) %>
  		</div>

  		<div class="attachment_tile_text">
  			<%= link_to document.file_file_name,
                {:controller => "documents", :action => "download", :id => document},
 				:alt => document.file_file_name,
 				:type => document.type,
 				:path => document_path(document) %>
  		</div>
	</div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-documents-0.1.6 app/views/documents/_index.html.erb