Sha256: aae458bdcb87849c272cabfa630ec652a75ac1ed92746cf98fbc0d5734f0a672

Contents?: true

Size: 1018 Bytes

Versions: 2

Compression:

Stored size: 1018 Bytes

Contents

<div class="form-actions">
  <% if Sufia.config.analytics %>
    <%= link_to "Analytics", @presenter.stats_path, id: 'stats', class: 'btn btn-default' %>
  <% end %>
  <% if Sufia.config.citations %>
    <%= link_to "Citations", sufia.citations_work_path(@presenter), id: 'citations', class: 'btn btn-default' %>
  <% end %>
  <% if @presenter.editor? %>
      <%= link_to "Edit This #{@presenter.human_readable_type}", edit_polymorphic_path([main_app, @presenter]),
                  class: 'btn btn-default' %>
      <%= link_to "Delete This #{@presenter.human_readable_type}", [main_app, @presenter],
                  class: 'btn btn-danger', data: { confirm: "Delete this #{@presenter.human_readable_type}?" },
                  method: :delete %>
      <%= link_to t('sufia.single_use_links.button'),
                  curation_concerns.generate_download_single_use_link_path(@presenter),
                  class: 'btn btn-default generate-single-use-link' %>
  <% end %>

  <%= render 'social_media' %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.2.0 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.1.0 app/views/curation_concerns/file_sets/_show_actions.html.erb