Sha256: 6c0ceaf598d9114991176503f8992a0b47f3b7db3781a9a0492c04c5eb5f8eb8

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 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? && 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

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-base-0.6.0 app/views/activities/_options.html.erb