Sha256: 955f61ca522d8aacc29bf7d6c11d0e6055ecf96a883db8a33b4cad39bc4f1472

Contents?: true

Size: 778 Bytes

Versions: 4

Compression:

Stored size: 778 Bytes

Contents

<%= sidebar do %>
  <%= sidebar_header 'Links' %>
  <%= sidebar_item :icon => :edit, :text => t("txt.views.collections.new"), :path => new_collection_path,
    :perms => [:create, Iqvoc::Collection.base_class], :active => params[:action] == 'new' %>
  <% if defined?(collection) %>
  <%= sidebar_header t('txt.common.representations') %>
  <%= sidebar_item :icon => 'link', :text => 'HTML', :path => collection_url(collection.origin, :format => :html) %>
  <%= sidebar_item :icon => 'link', :text => 'RDF/XML', :path => rdf_url(collection.origin, :format => :rdf, :lang => nil), :id => 'rdf_link_xml' %>
  <%= sidebar_item :icon => 'link', :text => 'RDF/Turtle', :path => rdf_url(collection.origin, :format => :ttl, :lang => nil), :id => 'rdf_link_ttl' %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-4.3.3 app/views/collections/_sidebar.html.erb
iqvoc-4.3.2 app/views/collections/_sidebar.html.erb
iqvoc-4.3.1 app/views/collections/_sidebar.html.erb
iqvoc-4.3.0 app/views/collections/_sidebar.html.erb