Sha256: fc29b1d212ae67557ec8e9c2f27ebd3734020ddc040441933e9b79a70be1ff55
Contents?: true
Size: 648 Bytes
Versions: 51
Compression:
Stored size: 648 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"> <%= link_to post do%> <% 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) %> <% end %> <br> </div> </div> </div>
Version data entries
51 entries across 51 versions & 2 rubygems