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

Version Path
muck-services-0.1.38 app/views/search/_result.html.erb
muck-services-0.1.37 app/views/search/_result.html.erb
muck-services-0.1.36 app/views/search/_result.html.erb
muck-services-0.1.35 app/views/search/_result.html.erb
muck-services-0.1.34 app/views/search/_result.html.erb
muck-services-0.1.33 app/views/search/_result.html.erb
muck-services-0.1.32 app/views/search/_result.html.erb
muck-services-0.1.31 app/views/search/_result.html.erb
muck-services-0.1.30 app/views/search/_result.html.erb
muck-services-0.1.29 app/views/search/_result.html.erb
muck-services-0.1.28 app/views/search/_result.html.erb
muck-services-0.1.27 app/views/search/_result.html.erb
muck-services-0.1.26 app/views/search/_result.html.erb
muck-services-0.1.25 app/views/search/_result.html.erb
muck-services-0.1.24 app/views/search/_result.html.erb
muck-services-0.1.23 app/views/search/_result.html.erb
muck-services-0.1.22 app/views/search/_result.html.erb
muck-services-0.1.21 app/views/search/_result.html.erb
muck-services-0.1.20 app/views/search/_result.html.erb
muck-services-0.1.19 app/views/search/_result.html.erb