Sha256: 11b6e1cf6fa3c31b53754a3d8265ca4f772a38f178c42f6079f196c240d71c13

Contents?: true

Size: 1.27 KB

Versions: 15

Compression:

Stored size: 1.27 KB

Contents

<%- published_param = concept.published? ? nil : "0" -%>

<%= sidebar do %>
  <%= sidebar_header t('txt.common.representations') %>
  <%= sidebar_item :icon => 'link', :text => 'HTML', :path => concept_path(:id => concept, :format => :html, :published => published_param) %>
  <%= sidebar_item :icon => 'link', :text => 'RDF/XML', :path => concept_path(:id => concept, :format => :rdf, :published => published_param), :id => 'rdf_link_xml' %>
  <%= sidebar_item :icon => 'link', :text => 'RDF/Turtle', :path => concept_path(:id => concept, :format => :ttl, :published => published_param), :id => 'rdf_link_ttl' %>
  <%= sidebar_item :icon => 'link', :text => 'RDF/NTriples', :path => concept_path(:id => concept, :format => :nt, :published => published_param), :id => 'rdf_link_nt' %>
  <%= sidebar_header 'Links' if can?(:create, Iqvoc::Concept.base_class) %>
  <%= sidebar_item :icon => 'link', :text => t('txt.models.concept.uri'), :path => rdf_url(concept.origin, :format => nil, :published => published_param, :lang => nil) %>
  <%= sidebar_item :icon => :edit, :text => t('txt.views.concepts.new', :concept_class_name => Iqvoc::Concept.base_class.model_name.human), :path => new_concept_path,
    :perms => [:create, Iqvoc::Concept.base_class], :active => params[:action] == 'new' %>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
iqvoc-4.12.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.11.1 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.11.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.10.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.9.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.8.2 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.8.1 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.8.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.7.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.6.1 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.5.2 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.6.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.5.1 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.5.0 app/views/concepts/sidebars/_singular.html.erb
iqvoc-4.4.0 app/views/concepts/sidebars/_singular.html.erb