Sha256: 93e1defddd5e59d64aeb631556b2e95d6b77c1ad2bd981070fc6dd08ad677bdd
Contents?: true
Size: 647 Bytes
Versions: 116
Compression:
Stored size: 647 Bytes
Contents
<% author = post.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 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
116 entries across 116 versions & 4 rubygems