Sha256: 1dee3f0d06af323b8e62e380fd719fe6654eead480e0a26c200897d7849689d1

Contents?: true

Size: 1.38 KB

Versions: 21

Compression:

Stored size: 1.38 KB

Contents

<%= div_for activity, :class => 'root media' do %>
  <div class="avatar pull-left">
    <div class="media-object">
      <%= link_to image_tag(activity.sender_subject.logo.url('small'),
        :alt => activity.sender_subject.name), activity.sender_subject %>
    </div>
  </div>
  <header class="media-heading">
    <%= activity.title(self) %>

    <% if activity.direct_object && !activity.direct_object.acts_as_actor? && can?(:destroy, activity.direct_object) %>
    <div class="x" style="float: right"> 
      <%= link_to ('X'), activity.direct_object , :confirm => t('confirm_delete', 
                    :scope => activity.direct_object.class.to_s.underscore), :method => :delete,  
                    :remote => true %> 
    </div>
    <% end %>
  </header>

  <div class="media-body">
    <section class="objects">
      <%= render partial: 'activity_objects/timeline', 
                 collection: activity.activity_objects,
                 as: :object %>
    </section>

    <%= render :partial => 'activities/actions',
               :locals => { :activity => activity } %>

    <%= render :partial => 'activities/likes',
               :locals => { :activity => activity } %>

    <%= render :partial => 'activities/comments',
               :locals => { :activity => activity } %>

    <%= render :partial => 'comments/new',
               :locals => { :activity => activity } %>
  </div>
<% end %>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/activities/_root.html.erb
social_stream-base-2.2.2 app/views/activities/_root.html.erb
social_stream-2.2.1 base/app/views/activities/_root.html.erb
social_stream-base-2.2.1 app/views/activities/_root.html.erb
social_stream-2.2.0 base/app/views/activities/_root.html.erb
social_stream-base-2.2.0 app/views/activities/_root.html.erb
social_stream-2.1.1 base/app/views/activities/_root.html.erb
social_stream-2.1.0 base/app/views/activities/_root.html.erb
social_stream-base-2.1.0 app/views/activities/_root.html.erb
social_stream-2.0.4 base/app/views/activities/_root.html.erb
social_stream-base-2.0.4 app/views/activities/_root.html.erb
social_stream-2.0.3 base/app/views/activities/_root.html.erb
social_stream-base-2.0.3 app/views/activities/_root.html.erb
social_stream-2.0.2 base/app/views/activities/_root.html.erb
social_stream-base-2.0.2 app/views/activities/_root.html.erb
social_stream-2.0.1 base/app/views/activities/_root.html.erb
social_stream-base-2.0.1 app/views/activities/_root.html.erb
social_stream-2.0.0 base/app/views/activities/_root.html.erb
social_stream-base-2.0.0 app/views/activities/_root.html.erb
social_stream-2.0.0.beta3 base/app/views/activities/_root.html.erb