Sha256: 75f802e89f937b5fd9e52e662e3181ef64283279ac613b0984b81edb081fde1a

Contents?: true

Size: 1.23 KB

Versions: 78

Compression:

Stored size: 1.23 KB

Contents

<% activity = comment.post_activity %>
<%= div_for activity, :class => 'super_activity' do %>
<div class="actor_logo">
  <%= link_to image_tag(activity.sender_subject.logo.url(:actor),
  :alt => activity.sender_subject.name),
  activity.sender_subject %>
</div>
<div class="activity_content">
  <div class="actor_name">
    <%= activity.title(self) %>
  </div>
  <div class="activity_objects">
    <%= link_to comment do%>
      <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 180) || "" %>
      <% if text.length < 400 %>
        <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 540 - text.length) || "" %>
      <% end %>
      <%= highlight(text,get_search_query_words) %>
      <% end %>
  </div>
  <div class="activity_options">
    <div class="comment_time_ago">
      <%= t('time.ago', :time => time_ago_in_words(activity.created_at)) %>
    </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 %>
  </div>
</div>
<% end %> 

Version data entries

78 entries across 78 versions & 2 rubygems

Version Path
social_stream-1.1.12 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.11 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.11 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.10 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.10 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.9 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.9 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.8 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.8 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.7 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.7 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.6 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.6 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.5 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.5 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.4 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.4 base/app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.3 base/app/views/comments/_comment_focus_search.html.erb
social_stream-base-1.1.3 app/views/comments/_comment_focus_search.html.erb
social_stream-1.1.2 base/app/views/comments/_comment_focus_search.html.erb