Sha256: 7e3c359f18ce8e7eee9b9008e4486449d6941cf9798cbf7fff9feed8a92c92ab
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
<%- # Compare with render_document_functions_partial helper, and # _document_functions partial. BL actually has two groups # of document-related tools. "document functions" by default # contains Bookmark functionality shown on both results and # item view. While "document tools" contains external export type # functions by default only on detail. -%> <div class="panel panel-default show-tools"> <div class="panel-heading"> <%= t('blacklight.tools.title') %> </div> <div class="panel-body"> <ul class="nav"> <li> <%= render_show_doc_actions @document %> </li> <% if @document.respond_to?( :to_email_text ) %> <li class="email"> <%= link_to content_tag(:span, '', :class => 'glyphicon glyphicon-envelope') + ' ' + t('blacklight.tools.email'), email_solr_document_path(:id => @document), {:id => 'emailLink', :data => {:ajax_modal => 'trigger'}} %> </li> <%- end -%> <%# if (@document.respond_to?(:export_as_mla_citation_txt) || @document.respond_to?(:export_as_apa_citation_txt)) %> <li class="cite"> <%= link_to content_tag(:span, '', :class => 'glyphicon glyphicon-list-alt') + ' ' + t('blacklight.tools.citation'), citation_solr_document_path(:id => @document), {:id => 'citeLink', :data => {:ajax_modal => 'trigger'}} %> </li> <%# end %> <%# if @document.respond_to?(:to_marc) %> <!-- <li class="librarian_view"> <%# link_to t('blacklight.tools.librarian_view.link'), librarian_view_catalog_path(@document), {:id => 'librarianLink', :class => 'lightboxLink'} %> </li> --> <%# end %> </ul> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems