Sha256: 1039821d32a9508349634798a29e8774fcb059164d78a5bd934bead68b787762

Contents?: true

Size: 993 Bytes

Versions: 9

Compression:

Stored size: 993 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" %>
  - <%= link_to t('muck.raker.related_resources'), "/documents/" + result.id.to_s, :class => "related_resources_link", :rel => "nofollow" %>
  <!-- <span class='published_at'>(<%= result.published_at.strftime("%d %b %Y") %>)</span>
  <span class='relevance_score'><%= t('muck.raker.relevance') %>: <%= round(result.solr_score) %></span> -->
  <% if !result.direct_link.nil? %> - <%= link_to t('muck.raker.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('muck.raker.related_resources'), "/documents/" + result.id.to_s, :class => "related_resources_link", :rel => "nofollow" %> -->
</p>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
muck-raker-0.1.1 app/views/entries/_result.html.erb
muck-raker-0.1.2 app/views/entries/_result.html.erb
muck-raker-0.1.3 app/views/entries/_result.html.erb
muck-raker-0.1.4 app/views/entries/_result.html.erb
muck-raker-0.1.5 app/views/entries/_result.html.erb
muck-raker-0.1.6 app/views/entries/_result.html.erb
muck-raker-0.1.7 app/views/entries/_result.html.erb
muck-raker-0.1.8 app/views/entries/_result.html.erb
muck-raker-0.1.0 app/views/entries/_result.html.erb