Sha256: bc6ded9c89f4b3821d44782ba33923c2098dc5aedac08d6067a9f96a285c1b2b

Contents?: true

Size: 1.1 KB

Versions: 16

Compression:

Stored size: 1.1 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 %>
</div>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
social_stream-0.26.2 base/app/views/activities/_options.html.erb
social_stream-base-0.20.2 app/views/activities/_options.html.erb
social_stream-0.26.1 base/app/views/activities/_options.html.erb
social_stream-base-0.20.1 app/views/activities/_options.html.erb
social_stream-0.26.0 base/app/views/activities/_options.html.erb
social_stream-base-0.20.0 app/views/activities/_options.html.erb
social_stream-0.25.2 base/app/views/activities/_options.html.erb
social_stream-base-0.19.2 app/views/activities/_options.html.erb
social_stream-0.25.1 base/app/views/activities/_options.html.erb
social_stream-base-0.19.1 app/views/activities/_options.html.erb
social_stream-0.25.0 base/app/views/activities/_options.html.erb
social_stream-base-0.19.0 app/views/activities/_options.html.erb
social_stream-0.24.1 base/app/views/activities/_options.html.erb
social_stream-base-0.18.1 app/views/activities/_options.html.erb
social_stream-0.24.0 base/app/views/activities/_options.html.erb
social_stream-base-0.18.0 app/views/activities/_options.html.erb