Sha256: ac4d1e0bba1d4fcd41439e7c33050a34c4ec875338ad47450ec97dced192b6fb

Contents?: true

Size: 977 Bytes

Versions: 1

Compression:

Stored size: 977 Bytes

Contents

<%= sidebar do %>
  <% if results %>
    <%= sidebar_header t('txt.common.representations') %>
    <%= sidebar_item :icon => 'link', :text => 'RDF/XML', :path => rdf_search_path({:lang => nil, :page => results.current_page, :format => :rdf}.merge(request.query_parameters)), :id => 'rdf_link_xml' %>
    <%= sidebar_item :icon => 'link', :text => 'RDF/Turtle', :path => rdf_search_path({:lang => nil, :page => @results.current_page, :format => :ttl}.merge(request.query_parameters)), :id => 'rdf_link_ttl' %>
    <%= sidebar_item :icon => 'link', :text => 'RDF/NTriples', :path => rdf_search_path({:lang => nil, :page => @results.current_page, :format => :nt}.merge(request.query_parameters)), :id => 'rdf_link_nt' %>
  <% end %>

  <%= sidebar_header 'Links' if can?(:create, Iqvoc::Concept.base_class) %>
  <% (Iqvoc.first_level_classes - [Collection::SKOS::Unordered]).each do |klass| %>
    <%= sidebar_item { render(klass.new_link_partial_name) } %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iqvoc-4.12.1 app/views/search_results/_sidebar.html.erb