Sha256: 0376f3b6f2e41fb6cd03e892d46c50feae21cfaa9cf37354b872d66191d99ee1
Contents?: true
Size: 798 Bytes
Versions: 95
Compression:
Stored size: 798 Bytes
Contents
<% link = result.direct_link.nil? ? result.permalink : result.direct_link %> <p> <%= link_to result.title + " (" + result.collection + ")", link, :class => "title_link", :rel => "nofollow" %> <span class='published_at'>(<%= result.published_at.strftime("%d %b %Y") %>)</span> <span class='relevance_score'><%= t(:relevance) %>: <%= round(result.solr_score) %></span> <% if !result.direct_link.nil? %> - <%= link_to t(:metadata), result.permalink, :class => "catalog_link" %><% end %> <% if result.description.length > 0 %><br/><span class="description"><%= truncate_words(result.description) %></span><% end %> <br/><span class="uri"><%= link %></span> - <%= link_to t(:related_resources), "/documents/" + result.id.to_s, :class => "related_resources_link", :rel => "nofollow" %> </p>
Version data entries
95 entries across 95 versions & 2 rubygems