Sha256: 03f4c2576b7c9c63c0340f96721b59730e7fa6cd6bfcf38c0eb7a4306b48e935

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

- page_title "Class: #{ontology_class.label || ontology_class.uri}"

- content_for :crumbs do
  %ol.breadcrumb
    %li= link_to_home
    - if ontology_class.defined_by_ontology
      %li= link_to "Ontology: #{ontology_class.defined_by_ontology.label || ontology_class.defined_by_ontology.uri}", resource_path_from_uri(ontology_class.defined_by_ontology.uri)
    %li Class

%article#resource
  %header
    %h3 Class
    %h1= ontology_class.label || ontology_class.uri
    %h3 URI
    %h2.click-to-select= ontology_class.uri

  = render  'publish_my_data/resources/resource_data', resource: ontology_class

  %footer.alternative-formats
    :markdown
      This **class** is available as:
    %ul
      %li HTML
      %li= link_to("JSON", show_resource_path(:uri => ontology_class.uri, :format => 'json'))
      %li= link_to("RDF/XML", show_resource_path(:uri => ontology_class.uri, :format => 'rdf'))
      %li= link_to("Turtle", show_resource_path(:uri => ontology_class.uri, :format => 'ttl'))
      %li= link_to("N-triples", show_resource_path(:uri => ontology_class.uri, :format => 'nt'))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
publish_my_data-1.0.4 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.0.3 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.0.2 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.0.1 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.0.0 app/views/publish_my_data/classes/show.html.haml