Sha256: 993145e8c9bdb19937480c966e751375a471904fdf66c54e7355657f410a7263
Contents?: true
Size: 606 Bytes
Versions: 4
Compression:
Stored size: 606 Bytes
Contents
<% author = post.post_activity.sender_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"> <% text = excerpt(strip_tags(post.text),get_search_query_words.first,:radius => 25) %> <% if text.length < 60 %> <% text = excerpt(strip_tags(post.text),get_search_query_words.first,:radius => 30 + (60 - text.length)) %> <% end %> <%= highlight(text,get_search_query_words) %> <br> </div> </div> </div>
Version data entries
4 entries across 4 versions & 2 rubygems