Sha256: 05211d9a82366f42aebb3164e0df6c9961e5efbe631609cd0677603e1c797686

Contents?: true

Size: 1.9 KB

Versions: 5

Compression:

Stored size: 1.9 KB

Contents

aside.col-lg-12.individual
  .row
    header
      .col-lg-12.cdiv
        =image_tag ('customer_vault/icons/individual-64.png')
      .col-lg-12.cdiv
        span class= "text-muted titre bold" #{individual.first_name} #{individual.last_name}
  .row
    .col-lg-12.top-buffer
      - if individual.email?
        .col-lg-12.cdiv
          .bold.text-muted.cdiv Email
          span #{individual.email} 
    .col-lg-12.cdiv
      - if individual.twitter?
          .bold.text-muted.cdiv Twitter
          span #{individual.twitter}
    .col-lg-12.cdiv
      - if individual.phone?
          .bold.text-muted.cdiv Phone
          span #{individual.phone}
    .col-lg-12.cdiv
      - if individual.mobile?
          .bold.text-muted.cdiv Mobile
          span #{individual.mobile}
    .col-lg-12.cdiv
      - if individual.fax?
          .bold.text-muted.cdiv Fax
          span #{individual.fax}
    .col-lg-12.cdiv
      - if individual.context?
          .bold.text-muted.cdiv Context
          span #{individual.context}
    .col-lg-12.cdiv
      - if individual.www?
          .bold.text-muted.cdiv Internet Site
          - if individual.www.include?("http://")
            =link_to individual.www , individual.www
          - else 
            =link_to "http://#{individual.www}" , "http://#{individual.www}"
    .col-lg-12.cdiv
      - if individual.address && !individual.address.one_line.blank?
          .bold.text-muted.cdiv Address
          span.address #{individual.address.one_line}
    
  .row.mega-top-buffer.bottom-buffer
    .col-lg-4.cdiv
      =link_to 'Editer', customer_vault.edit_individual_path(individual), :class=>"btn btn-success btn-sm"
    .col-lg-4.cdiv
      =link_to 'Effacer', [customer_vault, individual], data: {:confirm => 'Are you sure?'}, :method => :delete, :class=>"btn btn-danger btn-sm"
    .col-lg-4.cdiv
      = link_to 'Retour', customer_vault.people_path, :class=>"btn btn-primary btn-sm"  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
customer_vault-1.0.4 app/views/customer_vault/individuals/_show_details.html.slim
customer_vault-1.0.3 app/views/customer_vault/individuals/_show_details.html.slim
customer_vault-1.0.2 app/views/customer_vault/individuals/_show_details.html.slim
customer_vault-1.0.1 app/views/customer_vault/individuals/_show_details.html.slim
customer_vault-1.0.0 app/views/customer_vault/individuals/_show_details.html.slim