Sha256: 76b9e756a2cc4a455fd39814bce9d335712578d8f046ca705668432536b40e4f

Contents?: true

Size: 1.09 KB

Versions: 8

Compression:

Stored size: 1.09 KB

Contents

%section
	= row do
		.pmd_box_has_sidebar
			- if vocabulary.comment.present?
				=label "Description"
				%p= auto_link vocabulary.comment.to_s
			- if vocabulary.publisher.present?
				=label "Publisher"
				%p= resource_uri_or_label(vocabulary, vocabulary.publisher)
			- if vocabulary.license.present?
				=label "Licence"
				%p= resource_uri_or_label(vocabulary, vocabulary.license)
			- if vocabulary.contact_email.present?
				=label "Contact"
				%p= auto_link vocabulary.contact_email.to_s.gsub('mailto:','')
			- if vocabulary.description.present?
				=label "Description"
				:markdown
					#{vocabulary.description.to_s}

		.pmd_box_sidebar
			/
				= label "Download"
				= link_to show_resource_path(:uri => vocabulary.uri, :format => 'nt') do
					%i.icon-download
					=is_a
					%br
					(n-triples file)
			- if vocabulary.issued.present?
				=label "Issued"
				%p= formatted_date(vocabulary.issued.to_s)
			- if vocabulary.modified.present?
				=label "Modified"
				%p= formatted_date(vocabulary.modified.to_s)
			- if vocabulary.tags.try(:any?)
				=label "Tags"
				%p= vocabulary.tags.join(', ')

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
publish_my_data-1.3.25 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.24 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.23 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.22 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.21 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.20 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.19 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml
publish_my_data-1.3.18 app/views/publish_my_data/stripes/_vocabulary_metadata.html.haml