Sha256: 69e4720236d6b4610148dfb31e095b18d0ad190da6c2f749a92ac08299b9fa56

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

- title = ontology.label || ontology.uri
- kind = ontology.local? ? 'Ontology' : 'External Ontology'

- set_page_title "Ontology: #{title}"
- highlight_in_menu "vocabularies"
- page_kind 'ontology'
- bodyclass 'ontology'

- additional_formats_for_resource(ontology.uri)

%header{class: (ontology.deprecated? ? "deprecated" : "")}
	= fullwidth do
		= badge kind
		= page_title title
		= title_uri ontology.uri
		- if ontology.deprecated?
			= render 'publish_my_data/shared/deprecation_notice', resource: ontology, description:"ontology"

= render 'publish_my_data/stripes/vocabulary_metadata', vocabulary:ontology, is_a:"ontology"

- if (ontology.classes_sorted.count > 0 )
	= render 'publish_my_data/stripes/list_of_resources', title:"Classes", resources:ontology.classes_sorted
- if (ontology.properties_sorted.count > 0 )
	= render 'publish_my_data/stripes/list_of_resources', title:"Properties", resources:ontology.properties_sorted

= render 'publish_my_data/stripes/linked_data', resource:ontology, resource_class_name:"ontology"

Version data entries

9 entries across 9 versions & 1 rubygems

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