Sha256: 774eaceb48adbc14bc5fc927794ca43aa8313425e5ad52bdd6dc4ea86763782d

Contents?: true

Size: 1.27 KB

Versions: 13

Compression:

Stored size: 1.27 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", 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 %>
      <% if presenter.member_presenters.size > 1 %>
          <%= link_to t("hyrax.file_manager.link_text"), polymorphic_path([main_app, :file_manager, presenter]), class: 'btn btn-default' %>
      <% end %>
  <% 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

13 entries across 13 versions & 1 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.1.0 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.5 app/views/hyrax/base/_show_actions.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/base/_show_actions.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/base/_show_actions.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/base/_show_actions.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.4 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.3 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.2 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.1 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/base/_show_actions.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/base/_show_actions.html.erb