Sha256: b204162e233a2f4f08a2c4ee442839a4fc79f699846f0d85282770ba372cb27f

Contents?: true

Size: 1.21 KB

Versions: 116

Compression:

Stored size: 1.21 KB

Contents

<% activity = post.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 post do%>
      <% text = excerpt(strip_tags(post.text),get_search_query_words.first,:radius => 180) || "" %>
      <% if text.length < 400 %>
        <% text = excerpt(strip_tags(post.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="post_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

116 entries across 116 versions & 4 rubygems

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