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