Sha256: 16ff2b13a33888e7a83880536558668fa96e4651f352abfded53bb474d2fc7f2
Contents?: true
Size: 635 Bytes
Versions: 13
Compression:
Stored size: 635 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
13 entries across 13 versions & 2 rubygems