Sha256: 81ed132d46084ce8df32764d49d6d5d4559716d18dd6c31ca260789491a6af12
Contents?: true
Size: 1.07 KB
Versions: 18
Compression:
Stored size: 1.07 KB
Contents
<div class="show-actions"> <% if Hyrax.config.analytics? %> <%= link_to "Analytics", presenter.stats_path, id: 'stats', class: 'btn btn-default' %> <% end %> <% if presenter.editor? %> <%= link_to "Edit Work", edit_polymorphic_path([main_app, presenter]), class: 'btn btn-default' %> <%= link_to "Delete", [main_app, presenter], class: 'btn btn-danger', data: { confirm: "Delete this #{presenter.human_readable_type}?" }, method: :delete %> <% end %> <% if presenter.work_featurable? %> <%= link_to "Feature", hyrax.featured_work_path(presenter, format: :json), data: { behavior: 'feature' }, class: presenter.display_unfeature_link? ? 'btn btn-default collapse' : 'btn btn-default' %> <%= link_to "Unfeature", hyrax.featured_work_path(presenter, format: :json), data: { behavior: 'unfeature' }, class: presenter.display_feature_link? ? 'btn btn-default collapse' : 'btn btn-default' %> <% end %> <!-- COinS hook for Zotero --> <span class="Z3988" title="<%= export_as_openurl_ctx_kev(presenter) %>"></span> </div>
Version data entries
18 entries across 6 versions & 1 rubygems