Sha256: 0e3762640ba8f9039290645bfe840e2cdf0760837a9925ba458a7b00b510e3bc

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 Bytes

Contents

<h3>
  <span class="sr-only">Title</span>
  <%= link_to truncate(featured.title_or_label, length: 28, separator: ' '), sufia.generic_file_path(featured)  %>
</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

4 entries across 4 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/homepage/_featured_fields.html.erb
sufia-5.0.0.rc1 app/views/homepage/_featured_fields.html.erb
sufia-4.3.1 app/views/homepage/_featured_fields.html.erb
sufia-4.2.0 app/views/homepage/_featured_fields.html.erb