Sha256: e2929d7b5ccf128d9a9ef3ca96cc86e344d22000b2ccdc2240a9e65fa2db46af

Contents?: true

Size: 320 Bytes

Versions: 25

Compression:

Stored size: 320 Bytes

Contents

<article class="to_like like_<%= dom_id(activity) %>">
  <%= link_to [ activity, :like ], remote: true, method: ( like_status(activity).first == 'like' ? :post : :delete ) do %>
    <i class="icon_tool16-<%= like_status(activity).last %>"></i> <%= t "activity.#{ like_status(activity).first }" %>
  <% end %>
</article>

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/activities/_like.html.erb
social_stream-base-2.2.2 app/views/activities/_like.html.erb
social_stream-2.2.1 base/app/views/activities/_like.html.erb
social_stream-base-2.2.1 app/views/activities/_like.html.erb
social_stream-2.2.0 base/app/views/activities/_like.html.erb
social_stream-base-2.2.0 app/views/activities/_like.html.erb
social_stream-2.1.1 base/app/views/activities/_like.html.erb
social_stream-2.1.0 base/app/views/activities/_like.html.erb
social_stream-base-2.1.0 app/views/activities/_like.html.erb
social_stream-2.0.4 base/app/views/activities/_like.html.erb
social_stream-base-2.0.4 app/views/activities/_like.html.erb
social_stream-2.0.3 base/app/views/activities/_like.html.erb
social_stream-base-2.0.3 app/views/activities/_like.html.erb
social_stream-2.0.2 base/app/views/activities/_like.html.erb
social_stream-base-2.0.2 app/views/activities/_like.html.erb
social_stream-2.0.1 base/app/views/activities/_like.html.erb
social_stream-base-2.0.1 app/views/activities/_like.html.erb
social_stream-2.0.0 base/app/views/activities/_like.html.erb
social_stream-base-2.0.0 app/views/activities/_like.html.erb
social_stream-2.0.0.beta3 base/app/views/activities/_like.html.erb