Sha256: e82219d705a188d73f13972174f117ce1a00d96f0214d4a9bd5a49a8bb986779

Contents?: true

Size: 1.11 KB

Versions: 116

Compression:

Stored size: 1.11 KB

Contents

<div class="activity_options">
    <div class="post_time_ago"><%= t('time.ago', :time => time_ago_in_words(activity.created_at)) %></div>
    <% if activity.is_root? && user_signed_in? %>
      <div class="verb_comment"> · <%= link_to t('activity.to_comment'), "#", :class => "to_comment" %> </div>
    <% end %>

    <div class="verb_like" id="like_<%= dom_id(activity) %>"> · <%= link_like(activity)%></div>

    <% if user_signed_in? %>
      ·
      <%= link_to activity.audience_in_words(current_subject, :details => :summary),
                  'javascript:;',
                  :class => 'activity_audience_summary' %>
      <div class="activity_audience">
        <%= activity.audience_in_words(current_subject) %>
      </div>
    <% end %>

    <% if activity.delete_object_by?(current_subject) %>
      <div class="verb_delete"> 
        · <%= link_to t('activity.delete'), activity.direct_object , :confirm => t('confirm_delete', 
                      :scope => activity.direct_object.class.to_s.underscore), :method => :delete,  
                      :remote => true %> 
      </div>
    <% end %>
  </ul>
</div>

Version data entries

116 entries across 116 versions & 4 rubygems

Version Path
social_stream-0.23.4 base/app/views/activities/_options.html.erb
social_stream-base-0.17.3 app/views/activities/_options.html.erb
social_stream-0.23.3 base/app/views/activities/_options.html.erb
social_stream-base-0.17.2 app/views/activities/_options.html.erb
social_stream-0.23.2 base/app/views/activities/_options.html.erb
social_stream-base-0.17.1 app/views/activities/_options.html.erb
social_stream-0.23.1 base/app/views/activities/_options.html.erb
social_stream-base-0.17.0 app/views/activities/_options.html.erb
social_stream-0.22.1 base/app/views/activities/_options.html.erb
social_stream-base-0.16.4 app/views/activities/_options.html.erb
social_stream-0.22.0 base/app/views/activities/_options.html.erb
social_stream-base-0.16.3 app/views/activities/_options.html.erb
social_stream-0.21.4 base/app/views/activities/_options.html.erb
social_stream-base-0.16.2 app/views/activities/_options.html.erb
social_stream-0.21.3 base/app/views/activities/_options.html.erb
social_stream-0.21.2 base/app/views/activities/_options.html.erb
social_stream-0.21.1 base/app/views/activities/_options.html.erb
social_stream-base-0.16.1 app/views/activities/_options.html.erb
social_stream-0.21.0 base/app/views/activities/_options.html.erb
social_stream-base-0.16.0 app/views/activities/_options.html.erb