Sha256: 2f69825e8bee90f2940363e6ebb511c705c549004c9c255702e4a5f4a2c894c9

Contents?: true

Size: 1.18 KB

Versions: 11

Compression:

Stored size: 1.18 KB

Contents

<% profile_subject ||= document.post_activity.receiver_subject %>

<% content_for :title do %>
<%= profile_subject.name + ": " + t('repository.title') %>
<% end %>

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

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

<% toolbar :profile => profile_subject %>

<br class="clearfloat" />
<div class="space_center"></div>
<h2><%= document.title.nil? ? document.file_file_name : document.title %></h2>
<div class="space_center"></div>

<%= show_view_for document %>

<%= render :partial => "common_documents/document_info", :locals => {:document => document} %>

<div id="document_comments">
  <%= render :partial => 'activities/comments', :locals => { :activity => document.post_activity } %>
  <%= render :partial => 'comments/new', :locals => { :activity => document.post_activity } %>
</div>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
social_stream-0.14.1 documents/app/views/common_documents/_show.html.erb
social_stream-0.14.0 documents/app/views/common_documents/_show.html.erb
social_stream-0.13.3 documents/app/views/common_documents/_show.html.erb
social_stream-0.13.2 documents/app/views/common_documents/_show.html.erb
social_stream-0.13.1 documents/app/views/common_documents/_show.html.erb
social_stream-0.13.0 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.5.0 app/views/common_documents/_show.html.erb
social_stream-0.12.14 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.4.8 app/views/common_documents/_show.html.erb
social_stream-0.12.13 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.4.7 app/views/common_documents/_show.html.erb