Sha256: 42be30426c60019468a7853add014da5a2995d8ec7bf3a7621e503aad936e33f

Contents?: true

Size: 1.96 KB

Versions: 3

Compression:

Stored size: 1.96 KB

Contents

.container-fluid
	.col-lg-12
		ol class="breadcrumb"
			li 
				= link_to 'Home', '/'
			li.active People
	.col-lg-12
		.col-lg-4
			aside class = "col-lg-12 cadre"
				.row
					.col-lg-12.cdiv
						= image_tag ('customer_vault/icons/add_person-64.png')  	
				.row
					.col-lg-12.cdiv
						= link_to 'New Person', customer_vault.new_person_path, :class=>"btn btn-warning btn-lg"
				.row
					.col-lg-12.cdiv id='count'
						- if @people.empty?
							span class = 'text-muted bold' There isn't any person
						- else
							span class = 'text-muted bold' #{@people.count} people	
		.col-lg-8
			-	if @people.empty?
				h1 class="text-muted center" There isn't any person
			-	else
				-	@people.each do |person|
					.col-lg-12.cadre
						.col-lg-1
							.row
								=image_tag ('customer_vault/icons/people-48.png')
								=link_to 'Details', [customer_vault, person] , :class=>"btn btn-success btn-xs"
						.col-lg-11
							.row.top-buffer
								.col-lg-7 id='name'
									span class = 'bold' #{person.title}  
									span class = 'bold' #{person.first_name}  
									span class = 'bold' #{person.last_name}
							.row
									.col-lg-4 id='email'
										-	if person.email?
											span class= 'bold text-muted' Email: 
											span class = 'text-muted bold' #{person.email}
										-	else
											span class = 'bold invisible' CACHEE
									.col-lg-4 id='phone'
										-	if person.phone?
											span class= 'bold text-muted' Phone: 
											span #{person.phone}
										- else 
											span class= 'bold invisible' CACHEE
									.col-lg-4 id='mobile'
										- if person.mobile?
											span class= 'bold text-muted' Mobile: 
											span #{person.mobile}
										- else 
											span class= 'bold invisible' CACHEE 
							.row
								.col-lg-12 id='www'
									-	if person.www?
										=link_to person.www , extlink(person.www) 
									-	else 
										span class= 'bold invisible' CACHEE


					

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-0.0.4 app/views/customer_vault/people/index.html.slim
customer_vault-0.0.3 app/views/customer_vault/people/index.html.slim
customer_vault-0.0.2 app/views/customer_vault/people/index.html.slim