Sha256: e8b1ae09d200328f74ce37eae5b127e09ea397b374808ca9e3cc5c4c6577d299

Contents?: true

Size: 859 Bytes

Versions: 7

Compression:

Stored size: 859 Bytes

Contents

<div class="form-actions">
  <% if Sufia.config.analytics %>
    <%= link_to "Analytics", @presenter.stats_path, id: 'stats', 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

7 entries across 7 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.4.0 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.3.1 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.3.0 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.3.0.rc3 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.3.0.rc2 app/views/curation_concerns/file_sets/_show_actions.html.erb
sufia-7.3.0.rc1 app/views/curation_concerns/file_sets/_show_actions.html.erb