Sha256: c845716788c004ec8acbb7aa7a8d1ff378c48e772d329269449b800d977ab186

Contents?: true

Size: 1002 Bytes

Versions: 2

Compression:

Stored size: 1002 Bytes

Contents

- tag :div, object.merge_html_attributes(:class => " dselectable_item dline_item") do
	.dhover_controls_container
		.dhover_controls= object.controls.join(' ') if object.controls?
		- object_name = object.name? ? object.name : ' '
		- if object.icon? or object.text?
			- if object.icon?
				.dcolumns
					.dfixed.dcolumn{:width => 50}					
						.dicon
							%a{:href => object.url}
								%img{:src => object.icon}
					.delastic.dcolumn				
						.ddetails
							- if object.name?
								%a{:href => object.url}
									.dpreview_title= object_name
							.dtext= object.text if object.text?
			- else
				.ddetails
					- if object.name?
						%a{:href => object.url}
							.dpreview_title= object_name
					.dtext= object.text if object.text?
							
		- else
			.dsingle_line
				%a{:href => object.url}
					.dpreview_title= object_name
				
		- 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/line.html.haml
common_interface-0.1.1 lib/views/themes/default/items/line.html.haml