Sha256: e7c90ed52593c033f53b99aa6c53d6aeb9dad22e7e840df5223e584a3b018ed2

Contents?: true

Size: 1012 Bytes

Versions: 9

Compression:

Stored size: 1012 Bytes

Contents

%section
	= row do
		.pmd_box_has_sidebar
			- if dataset.comment.present?
				= label "Abstract"
				%p= auto_link(dataset.comment.to_s)
			- if dataset.description.present?
				= render partial: 'publish_my_data/shared/description', locals:{container:dataset}
			- if dataset.publisher.present?
				= label "Publisher"
				%p= resource_uri_or_label(dataset, dataset.publisher)
			- if dataset.license.present?
				= label "Licence"
				%p= resource_uri_or_label(dataset, dataset.license)
			- if dataset.contact_email.present?
				= label "Contact"
				%p= auto_link dataset.contact_email.to_s.gsub('mailto:','')
		.pmd_box_sidebar
			- if dataset.issued.present?
				=label "Issued"
				%p= formatted_date(dataset.issued.to_s)
			- if dataset.modified.present?
				=label "Modified"
				%p= formatted_date(dataset.modified.to_s)
			- if dataset.theme.present?
				=label "Theme"
				%p= link_to dataset.theme_obj.label, theme_path(dataset.theme_obj.slug)
			/
				=label "Tags"
				%p= dataset.tags.join(', ')

Version data entries

9 entries across 9 versions & 1 rubygems

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