%- keywords = link_to_facet_list(recent_document[:generic_file__tag_t], 'generic_file__tag_facet', 'no keywords specified') -%> <%- filename = render_document_show_field_value(:document=>recent_document, :field=>"label_t") -%> <%- title = render_document_show_field_value(:document=>recent_document, :field=>"generic_file__title_t") -%> <%- title = filename if title.empty? -%> <%- depositor = get_depositor_from_document(recent_document) -%>
<% if filename.length > 25 %>
<%= link_to "#{filename[0..24]}...", generic_file_path(recent_document.fetch(:noid_s, :id)), :title => filename %>
<% else %>
<%= link_to filename, generic_file_path(recent_document.fetch(:noid_s, :id)), :title => filename %>
<% end %>
<%= keywords.html_safe %>