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-raker-0.2.7 app/views/search/_result.html.erb
muck-raker-0.2.6 app/views/search/_result.html.erb
muck-raker-0.2.5 app/views/search/_result.html.erb
muck-raker-0.2.4 app/views/search/_result.html.erb
muck-raker-0.2.3 app/views/search/_result.html.erb
muck-raker-0.2.2 app/views/search/_result.html.erb
muck-raker-0.2.0 app/views/search/_result.html.erb
muck-raker-0.1.49 app/views/search/_result.html.erb
muck-raker-0.1.48 app/views/search/_result.html.erb
muck-raker-0.1.47 app/views/search/_result.html.erb
muck-raker-0.1.46 app/views/search/_result.html.erb
muck-raker-0.1.45 app/views/search/_result.html.erb
muck-raker-0.1.43 app/views/search/_result.html.erb
muck-raker-0.1.42 app/views/search/_result.html.erb
muck-raker-0.1.41 app/views/search/_result.html.erb
muck-raker-0.1.40 app/views/search/_result.html.erb
muck-raker-0.1.39 app/views/search/_result.html.erb
muck-raker-0.1.38 app/views/search/_result.html.erb
muck-raker-0.1.37 app/views/search/_result.html.erb
muck-raker-0.1.36 app/views/search/_result.html.erb