Sha256: 85e9372a316681e9bd02cbdcc0bec9b9590272f63a4af67feb0d02313e81c52b

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 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_user.active_ties_to(activity.receiver).any? %>
    <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>
    <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>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-0.2.3 app/views/activities/_options.html.erb
social_stream-0.2.2 app/views/activities/_options.html.erb
social_stream-0.2.1 app/views/activities/_options.html.erb
social_stream-0.2.0 app/views/activities/_options.html.erb