Sha256: 7422d7b469c756960267bdaa2694e230d43a2161eee54e08a30b39cdbd7f19ac

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

- tag :div, object.merge_html_attributes(:class => " _folder dfolder dselectable_item") do
	.dhover_controls_container
		.dhover_controls= object.controls.join(' ') if object.controls?
	
		- if object.name?
			%h1.item_title= object.name? ? object.name : ' '
		- else
			%h1.item_title.empty_title
				 		
	
		._container
			= object.content.to_a.join("\n")
		._clear
		
		- unless object.name? or object.content?
			.dtitle= "(#{t(:empty)})"

		- if object.tags?
			.ditem_tags= object.tags.join("\n") 
			
		- if object.details?
			.ditem_details= object.details.to_a.join(', ')
		._clear

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/themes/default/items/folder.html.haml
common_interface-0.1.1 lib/views/themes/default/items/folder.html.haml