Sha256: 574dffad74ebfb6ec6e4db1fd57b747518ac7160b532a4593cec5181133aeeeb
Contents?: true
Size: 1.06 KB
Versions: 7
Compression:
Stored size: 1.06 KB
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 %> <%= button_tag t('sufia.single_use_link'), class: "copypaste btn btn-default", title: "Single-Use Link to File", data: { generate_single_use_link_url: curation_concerns.generate_show_single_use_link_url(@presenter.id) }, id: "copy_link_#{@presenter.id}" %> <% end %> <%= render 'social_media' %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems