Sha256: 207b373e78d1a580e5caacc8741df7842d16ea222212cad11c9104d4b048a7ab

Contents?: true

Size: 1.96 KB

Versions: 20

Compression:

Stored size: 1.96 KB

Contents

    <h2 class="non lower">Actions</h2>
    <p>
      <%= link_to "Download", sufia.download_path(@generic_file.noid) %>
      <!-- &nbsp;|&nbsp; -->
      <%# link_to "Cite", citation_generic_file_path, {:id => 'citeLink', :name => 'citation', :class => 'lightboxLink'}, :action => 'citation' %>
      <% if can? :edit, @generic_file %>
          &nbsp;|&nbsp;
          <%= link_to "Edit", sufia.edit_generic_file_path unless @generic_file.processing?   %>
          <%= "File is being processed you may edit once it is complete" if @generic_file.processing?   %>
      <%end %>
    </p>
    <p>Export to:
      <%= link_to 'EndNote', sufia.generic_file_path(@generic_file.noid, :format => 'endnote') %>
      &nbsp;|&nbsp;
      <%= link_to 'Zotero', sufia.static_path('zotero'), {:id => 'zoteroLink', :name =>    'zotero', :class => 'lightboxLink'} %>
      &nbsp;|&nbsp;
      <%= link_to 'Mendeley', sufia.static_path('mendeley'), {:id => 'mendeleyLink', :name =>    'mendeley', :class => 'lightboxLink'} %>
      <!-- Disabling RefWorks export due to stakeholder deprioritization -->
      <%# link_to 'RefWorks', refworks_export_url(:id => @generic_file.noid) %>
      <!-- &nbsp;|&nbsp; -->
      <!-- Disabling Email This and SMS This links due to lack of use cases -->
      <%# link_to 'Email This', email_catalog_path(:id => @generic_file.persistent_url), {:id => 'emailLink', :name => 'email', :class => 'lightboxLink'} %>
    </p>
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style">
      <a class="addthis_button_preferred_1"></a>
      <a class="addthis_button_preferred_2"></a>
      <a class="addthis_button_preferred_3"></a>
      <a class="addthis_button_preferred_4"></a>
      <a class="addthis_button_compact"></a>
      <a class="addthis_counter addthis_bubble_style"></a>
    </div>
    <!-- AddThis Button END -->

    <!-- COinS hook for Zotero -->
    <span class="Z3988" title="<%= @generic_file.export_as_openurl_ctx_kev %>"></span>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
sufia-3.5.0 app/views/generic_files/_show_actions.html.erb
sufia-3.4.0 app/views/generic_files/_show_actions.html.erb
sufia-3.4.0.rc4 app/views/generic_files/_show_actions.html.erb
sufia-3.4.0.rc3 app/views/generic_files/_show_actions.html.erb
sufia-3.3.1 app/views/generic_files/_show_actions.html.erb
sufia-3.4.0.rc2 app/views/generic_files/_show_actions.html.erb
sufia-3.4.0.rc1 app/views/generic_files/_show_actions.html.erb
sufia-3.3.0 app/views/generic_files/_show_actions.html.erb
sufia-3.2.1 app/views/generic_files/_show_actions.html.erb
sufia-3.1.3 app/views/generic_files/_show_actions.html.erb
sufia-3.1.2 app/views/generic_files/_show_actions.html.erb
sufia-3.1.1 app/views/generic_files/_show_actions.html.erb
sufia-3.1.0 app/views/generic_files/_show_actions.html.erb
sufia-3.0.0 app/views/generic_files/_show_actions.html.erb
sufia-2.0.1 app/views/generic_files/_show_actions.html.erb
sufia-2.0.0 app/views/generic_files/_show_actions.html.erb
sufia-1.3.0 app/views/generic_files/_show_actions.html.erb
sufia-1.2.0 app/views/generic_files/_show_actions.html.erb
sufia-1.1.0 app/views/generic_files/_show_actions.html.erb
sufia-1.0.0 app/views/generic_files/_show_actions.html.erb