Sha256: 18558ef12fcff963df5c6ceb1a3aa7a4dd9d60bb745a092b9c2367f1b2b60e47

Contents?: true

Size: 1.07 KB

Versions: 52

Compression:

Stored size: 1.07 KB

Contents

.person.panel.panel-default
  .panel-heading
    .panel-title
      = icon :users if person.corporation?
      = icon :user  if person.individual?
      = " "
      span.name
        = link_to_object(person)

      - if defined?(link)
        span.separator = " / "
        span.title     = link.title

        .actions.pull-right
          - if policy(link.person).update?
            = update_button dorsale.edit_customer_vault_person_link_path(link.person, link)

          - if policy(link.person).delete?
            = delete_button dorsale.customer_vault_person_link_path(link.person, link)

      - else
        .actions.pull-right
          - if policy(person).read?
            = read_button dorsale.customer_vault_person_path(person)

          - if policy(person).update?
            = update_button dorsale.edit_customer_vault_person_path(person)

  .panel-body
    .avatar-container
      = avatar_img(person)

    .infos-container
      = info person, :phone
      = info person, :mobile
      = info person, :email, helper: :email_link
      = info person, :tags, tags(person)

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
dorsale-4.0.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.20.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.19.1 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.19.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.18.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.17.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.16.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.15.0 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.11 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.10 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.9 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.8 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.7 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.6 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.5 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.4 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.3 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.2 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.1 app/views/dorsale/customer_vault/people/_list_item.html.slim
dorsale-3.14.0 app/views/dorsale/customer_vault/people/_list_item.html.slim