Sha256: d9bef17c5f674a48d78647ff7a36e0f6f70d89e744b6ed20513f345dba44a980

Contents?: true

Size: 666 Bytes

Versions: 9

Compression:

Stored size: 666 Bytes

Contents

- title = ontology_class.label || ontology_class.uri

- highlight_in_menu "vocabularies"
- set_page_title("Class: #{title}")
- page_kind 'ontology class'
- bodyclass 'ontology'

- additional_formats_for_resource(ontology_class.uri)

%header
	= fullwidth do
		= badge("class")
		= page_title(title)
		= title_uri ontology_class.uri
	- if ontology_class.defined_by_ontology
		= fullwidth do
			=label("Ontology")
			%p= 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)

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publish_my_data-1.3.3 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.3.2 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.3.1 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.3.0 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.2.4 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.2.3 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.2.2 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.2.1 app/views/publish_my_data/classes/show.html.haml
publish_my_data-1.2.0 app/views/publish_my_data/classes/show.html.haml