Sha256: 453961366767f58a78f39c65ad8fab742f1bf0352ac4bd3a0b38dcc23d56676f

Contents?: true

Size: 754 Bytes

Versions: 7

Compression:

Stored size: 754 Bytes

Contents

<div class="attachment_section_header">
	<h3><%= t('picture.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 thumb_for(document), 
                {:controller => "documents", :action => "download", :id => document}, 
 				:type => document.type, 
				: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

7 entries across 7 versions & 1 rubygems

Version Path
social_stream-documents-0.1.6 app/views/pictures/_index.html.erb
social_stream-documents-0.1.5 app/views/pictures/_index.html.erb
social_stream-documents-0.1.4 app/views/pictures/_index.html.erb
social_stream-documents-0.1.3 app/views/pictures/_index.html.erb
social_stream-documents-0.1.2 app/views/pictures/_index.html.erb
social_stream-documents-0.1.1 app/views/pictures/_index.html.erb
social_stream-documents-0.1.0 app/views/pictures/_index.html.erb