Fineprint text was variously styled with `.info`, `.tn`, `.hint`, or `.cost-footnote` css classes. Standardize on `.fineprint` instead. Use `.hint` only for form hints and `.tn` only for <tn> tags in translation notes. Incidentally changes the font size of form hints to 0.8em (was 0.7em) and the color of fineprint to #888 (was #AAA or #666).
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
<% if @matches.present? %>
|
|
<h3>Similar Posts</h3>
|
|
<p class="fineprint">Found <%= pluralize(@matches.length, "similar post") %>:</p>
|
|
|
|
<% @matches.each do |match| %>
|
|
<%= PostPresenter.preview(match["post"], :tags => "status:any", :similarity => match["score"], :size => true) %>
|
|
<% end %>
|
|
<% else %>
|
|
<h3>Similar Posts</h3>
|
|
<p class="fineprint">No similar posts found.</p>
|
|
<% end %>
|