Sha256: 024bca065585f214efc39af5621fa9d11ff5246d3532a39238a5a0ec4f3f8995
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
<% solr_doc = document.inner_object.solr_doc %> <div class="row-fluid identifier-and-action"> <div class="span2 list-number"> <%= document_counter_with_offset(counter) if defined?(counter) %> <p class="resource-type"> <%= render_index_field_value document: solr_doc, field: 'human_readable_type_tesim' %> <%= render_index_field_value document: solr_doc, field: 'desc_metadata__resource_type_tesim' %> </p> </div> <div class="span6"> <%# Minimize Fedora hits by using solr_doc rather than document %> <%= link_to render_index_field_value(document: solr_doc, field: 'desc_metadata__title_tesim'), polymorphic_path([:curation_concern, document]), :id => "src_copy_link_#{solr_doc.noid}" %> </div> <div class="span4"> <% if current_user -%> <%= render partial: 'add_to_collection_gui', locals: { document: document } %> <%= link_to( raw('<i class="icon-pencil icon-large"></i>'), edit_polymorphic_path([:curation_concern, document]), :class=> 'itemicon itemedit btn pull-right', :title => "Edit #{document.human_readable_type}" ) if can? :edit, document %> <% end -%> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
curate-0.5.2 | app/views/catalog/_index_partials/_identifier_and_action.html.erb |