Sha256: 84c09360324725ec5215f104dbb83e77fc769b2642c3cabd29505983b7d32396

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 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/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

18 entries across 18 versions & 2 rubygems

Version Path
social_stream-0.12.12 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.6 app/views/common/_show.html.erb
social_stream-0.12.11 documents/app/views/common/_show.html.erb
social_stream-0.12.10 documents/app/views/common/_show.html.erb
social_stream-0.12.9 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.5 app/views/common/_show.html.erb
social_stream-0.12.8 documents/app/views/common/_show.html.erb
social_stream-0.12.7 documents/app/views/common/_show.html.erb
social_stream-0.12.6 documents/app/views/common/_show.html.erb
social_stream-0.12.5 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.4 app/views/common/_show.html.erb
social_stream-0.12.4 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.3 app/views/common/_show.html.erb
social_stream-0.12.3 documents/app/views/common/_show.html.erb
social_stream-0.12.2 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.2 app/views/common/_show.html.erb
social_stream-0.12.1 documents/app/views/common/_show.html.erb
social_stream-documents-0.4.1 app/views/common/_show.html.erb