Sha256: bfbd852309902712bcdf05659b78dba213d1d36ebf3eacdc2a2c1da02479cecd

Contents?: true

Size: 659 Bytes

Versions: 78

Compression:

Stored size: 659 Bytes

Contents

<% author = comment.author_subject %>
<div class="model_with_details">
  <div class="logo">
    <%= link_to (image_tag(author.logo.url , :size => "50x50", :alt => author.name )), author  %>
  </div>
  <div class="sub-block">
    <div class="brief">
    <%= link_to comment do%>
      <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 25) || "" %>
      <% if text.length < 60 %>
        <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 30 + (60 - text.length)) || "" %>
      <% end %>
      <%= highlight(text,get_search_query_words) %>
      <% end %>
      <br>
    </div>
  </div>
</div>

Version data entries

78 entries across 78 versions & 2 rubygems

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