Sha256: 51245028920b2ffa1d93201ceef02aa90ffc90852199cf8027f6bc3043700694

Contents?: true

Size: 1.15 KB

Versions: 58

Compression:

Stored size: 1.15 KB

Contents

<%= render :partial => 'objects/show',
           :locals  => { :object => document } %>

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

<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

58 entries across 58 versions & 2 rubygems

Version Path
social_stream-1.1.12 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.1.4 app/views/common_documents/_show.html.erb
social_stream-1.1.11 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.1.3 app/views/common_documents/_show.html.erb
social_stream-1.1.10 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.1.2 app/views/common_documents/_show.html.erb
social_stream-1.1.9 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.8 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.7 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.6 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.5 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.4 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.1.1 app/views/common_documents/_show.html.erb
social_stream-1.1.3 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.2 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.1 documents/app/views/common_documents/_show.html.erb
social_stream-1.1.0 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.1.0 app/views/common_documents/_show.html.erb
social_stream-1.0.1 documents/app/views/common_documents/_show.html.erb
social_stream-documents-1.0.0 app/views/common_documents/_show.html.erb