Sha256: c3d031e86806fcb538086512fc13e085edb4d5a7f9cabbde971c3510d700a44c

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

.row.individual
	.col-lg-1
			=image_tag ('customer_vault/icons/individual-48.png')
			=link_to 'Details', [customer_vault, i] , :class=>"btn btn-success btn-xs"
	.col-lg-11
		.row.top-buffer
			.col-lg-12 id='name'
				span.bold.first_name #{i.first_name}
				span.bold.last_name #{i.last_name}
				- if defined? link
					= render partial: 'customer_vault/links/title', locals: {link: link, person: person}
		.row
				.col-lg-4 id='email'
					-	if i.email?
						span class= 'bold text-muted' Email: 
						span class = 'text-muted bold' #{i.email}
					-	else
						span class = 'bold invisible' CACHEE
				.col-lg-4 id='phone'
					-	if i.phone?
						span class= 'bold text-muted' Phone: 
						span #{i.phone}
					- else 
						span class= 'bold invisible' CACHEE
				.col-lg-4 id='mobile'
					- if i.mobile?
						span class= 'bold text-muted' Mobile: 
						span #{i.mobile}
					- else 
						span class= 'bold invisible' CACHEE 
		.row
			.col-lg-12 id='www'
				-	if i.www?
					-	if i.www.include?("http://")
						=link_to i.www , i.www
					- else 
					 	=link_to "http://#{i.www}" , "http://#{i.www}"
				-	else 
					span class= 'bold invisible' CACHEE

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
customer_vault-1.0.1 app/views/customer_vault/individuals/_list_details.html.slim
customer_vault-1.0.0 app/views/customer_vault/individuals/_list_details.html.slim