Sha256: fbc9b945da778e9dd8dee397d1806b29dabee1efb29af675cdaabcec81c1e5d0

Contents?: true

Size: 907 Bytes

Versions: 3

Compression:

Stored size: 907 Bytes

Contents

<div class="activity_options">
  <ul class="activity_options" >
    <li><div class="post_time_ago"><%= t('time.ago', :time => time_ago_in_words(activity.created_at)) %></div></li>
    <% if activity.is_root? && user_signed_in? && current_subject.activity_relations?(activity.receiver, :in => activity.relations) %>
    <li><div class="verb_comment"> · <%= link_to t('activity.to_comment'), "#", :class => "to_comment" %> </div></li>
    <% end %>
    <li><div class="verb_like" id="like_<%= dom_id(activity) %>"> · <%= link_like(activity)%></div></li>
    <% if activity.direct_object.present? && !activity.direct_object.is_a?(Actor) %>
      <li><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></li>
    <% end %>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-base-0.6.3 app/views/activities/_options.html.erb
social_stream-base-0.6.2 app/views/activities/_options.html.erb
social_stream-base-0.6.1 app/views/activities/_options.html.erb