Sha256: 7f8965fcadce28c1c1087e3c2838efd63cac485e2f9c0fdcd555e87e2897f938
Contents?: true
Size: 1.06 KB
Versions: 11
Compression:
Stored size: 1.06 KB
Contents
<%- published_param = concept.published? ? nil : "0" -%> <%= sidebar do %> <%= sidebar_item :icon => 'share', :text => t('txt.models.concept.uri'), :path => rdf_url(concept.origin, :format => nil, :published => published_param, :lang => nil) %> <%= sidebar_header t('txt.common.representations') %> <%= sidebar_item :icon => 'share', :text => 'HTML', :path => concept_path(:id => concept, :format => :html, :published => published_param) %> <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => concept_path(:id => concept, :format => :rdf, :published => published_param), :id => 'rdf_link_xml' %> <%= sidebar_item :icon => 'share', :text => 'RDF/Turtle', :path => concept_path(:id => concept, :format => :ttl, :published => published_param), :id => 'rdf_link_ttl' %> <%= sidebar_header 'Links' %> <%= 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
11 entries across 11 versions & 1 rubygems