Sha256: 2930f1af06ef617c7e6ddc2ad7ebbd85202d804924fcfd0dd120e183c2bbe321

Contents?: true

Size: 1.1 KB

Versions: 38

Compression:

Stored size: 1.1 KB

Contents

<% profile_subject ||= document.owner_subject %>

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

<% sidebar %>

<%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

38 entries across 38 versions & 4 rubygems

Version Path
social_stream-0.23.1 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.11.3 app/views/common_documents/_show.html.erb
social_stream-0.22.1 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.11.2 app/views/common_documents/_show.html.erb
social_stream-0.22.0 documents/app/views/common_documents/_show.html.erb
social_stream-0.21.4 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.11.1 app/views/common_documents/_show.html.erb
social_stream-0.21.3 documents/app/views/common_documents/_show.html.erb
social_stream-0.21.2 documents/app/views/common_documents/_show.html.erb
social_stream-0.21.1 documents/app/views/common_documents/_show.html.erb
social_stream-0.21.0 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.11.0 app/views/common_documents/_show.html.erb
social_stream-0.20.2 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.10.2 app/views/common_documents/_show.html.erb
social_stream-0.20.1 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.10.1 app/views/common_documents/_show.html.erb
social_stream-0.20.0 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.10.0 app/views/common_documents/_show.html.erb
social_stream-0.19.3 documents/app/views/common_documents/_show.html.erb
social_stream-documents-0.9.1 app/views/common_documents/_show.html.erb