Sha256: fc7a17bc0dedeec97240a82f290bef8d9b88497dd8911cb185f2b997a8400750
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 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. #Added Bootstrap class well and 'hidden-phone' for the tools-bar -%> <ul class="nav nav-list"> <li class="nav-header"><%= t('blacklight.tools.title') %></li> <li> <%= link_to "Edit Metadata", hydra_editor.edit_record_path(@document) %> </li> <li> <%= link_to "Manage Datastreams", record_attachments_path(@document) %> </li> <% if @document.published? %> <li class="disabled"> <%= link_to "Publish", '#' %> </li> <% else %> <li> <%= link_to "Publish", publish_record_path(@document), method: :post%> </li> <% end %> <li> <%= link_to "View in Fedora", @document.preview_fedora_path%> </li> <% if @document.preview_dl_path.present? %> <li> <%= link_to "Preview in DL", @document.preview_dl_path%> </li> <% else %> <li class="disabled"> <%= link_to "Preview in DL", '#' %> </li> <% end %> <li> <%= link_to "Purge", record_path(@document), method: :delete, confirm: "WARNING: this will permanently delete this object from all environments! Are you sure you want to Proceed?"%> </li> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydra_mediated-0.0.1 | app/views/catalog/_show_tools.html.erb |