Sha256: c92b761384b388b5076a4bcb4411a9d53fcc5824125764ab690b8b79bb7a6689

Contents?: true

Size: 1.55 KB

Versions: 25

Compression:

Stored size: 1.55 KB

Contents

<% content_for :title do %>
  <%= profile_subject.name %> 
<% end %>

<% content_for :sidebar do %>
  <%= render :partial => 'home/sidebar' %>
<% end %>

<%if profile_subject_is_current?%>
  <%= location(
    link_to(t(controller.controller_name.singularize + '.title'), polymorphic_path(controller.controller_name),:remote => true)
    ) %>
  <% toolbar %>
<%else%>
  <%= location(
    link_to(profile_subject.name, polymorphic_path(profile_subject),:remote => true),
    link_to(t(controller.controller_name.singularize + '.title'), polymorphic_path([profile_subject, controller.controller_name]),:remote => true)
    ) %>
  <% toolbar :profile => profile_subject %>
<%end%>


<div class="attachment_section_header">
	<h3><%= profile_subject_is_current? ? t(controller.controller_name.singularize + '.mine') : t(controller.controller_name.singularize + '.not_mine') %></h3>
</div>
<% @activities.each do |a| %>
	<% document = a.activity_objects.first.document %>
	<div class="attachment_tile">
		<div class="attachment_tile_thumb">
    		<%= link_to thumb_for(document,48), 
                {: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

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-0.11.8 documents/app/views/common-documents/_index.html.erb
social_stream-documents-0.3.3 app/views/common-documents/_index.html.erb
social_stream-0.11.7 documents/app/views/common-documents/_index.html.erb
social_stream-0.11.6 documents/app/views/common-documents/_index.html.erb
social_stream-documents-0.3.2 app/views/common-documents/_index.html.erb
social_stream-0.11.5 documents/app/views/common-documents/_index.html.erb
social_stream-0.11.4 documents/app/views/common-documents/_index.html.erb
social_stream-0.11.3 documents/app/views/common-documents/_index.html.erb
social_stream-0.11.2 documents/app/views/common-documents/_index.html.erb
social_stream-0.11.1 documents/app/views/common-documents/_index.html.erb
social_stream-documents-0.3.1 app/views/common-documents/_index.html.erb
social_stream-0.11.0 documents/app/views/common-documents/_index.html.erb
social_stream-documents-0.3.0 app/views/common-documents/_index.html.erb
social_stream-0.10.4 documents/app/views/common-documents/_index.html.erb
social_stream-0.10.3 documents/app/views/common-documents/_index.html.erb
social_stream-0.10.2 documents/app/views/common-documents/_index.html.erb
social_stream-0.10.1 documents/app/views/common-documents/_index.html.erb
social_stream-0.10.0 documents/app/views/common-documents/_index.html.erb
social_stream-0.9.7 documents/app/views/common-documents/_index.html.erb
social_stream-0.9.6 documents/app/views/common-documents/_index.html.erb