Sha256: 43148ee93d7d085b998c4332af3f663b51207022d81896163dee4f52b6241218

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 Bytes

Contents

<h3>
  <span class="sr-only">Title</span>
  <%= link_to truncate(featured.title_or_label, length: 28, separator: ' '), sufia.generic_file_path(featured), title: featured.title_or_label  %>
</h3>
<div> 
  <span class="sr-only">Depositor</span>
  <%= link_to_profile featured.depositor("no depositor value") %>
</div>
<div> 
  <span class="sr-only">Filename</span>
  <%= link_to truncate(featured.label, length: 25), sufia.generic_file_path(featured), title: featured.label %>
</div>
<div> 
  <span class="sr-only">File type</span>
  <%= link_to_facet_list(featured.resource_type, 'desc_metadata__resource_type', 'no resource specified') %>
</div>
<div> 
  <span class="sr-only">Keywords</span>
  <%= link_to_facet_list(featured.tags, 'desc_metadata__tag', 'no keywords specified') %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-4.1.0 app/views/homepage/_featured_fields.html.erb
sufia-4.0.1 app/views/homepage/_featured_fields.html.erb
sufia-4.0.0 app/views/homepage/_featured_fields.html.erb