Sha256: 8cb089f1f302f30db489355f0d2bc7a6d5b5526f104cac7fba9d2acc376392c9

Contents?: true

Size: 1.1 KB

Versions: 10

Compression:

Stored size: 1.1 KB

Contents

.nav.nav-tabs#person-tabs
  li class=("active" if request.path == dorsale.customer_vault_person_path(@person))
    a href=dorsale.customer_vault_person_path(@person)
      = t("customer_vault.activity")
      = " "
      span.badge = @person.comments.count

  li class=("active" if request.path.start_with? dorsale.customer_vault_person_links_path(@person))
    a href=dorsale.customer_vault_person_links_path(@person)
      = Dorsale::CustomerVault::Link.ts
      = " "
      span.badge = @person.links.length

  - if policy(Dorsale::Flyboy::Task).list?
    li class=("active" if request.path == dorsale.tasks_customer_vault_person_path(@person))
      a href=dorsale.tasks_customer_vault_person_path(@person)
        = Dorsale::Flyboy::Task.ts
        = " "
        span.badge = @person.tasks.count

  - if policy(Dorsale::BillingMachine::Invoice).list?
    li class=("active" if request.path == dorsale.invoices_customer_vault_person_path(@person))
      a href=dorsale.invoices_customer_vault_person_path(@person)
        = Dorsale::BillingMachine::Invoice.ts
        = " "
        span.badge = @person.invoices.count

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dorsale-3.7.2 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.7.1 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.7.0 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.6.1 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.6.0 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.5.2 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.5.1 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.5.0 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.4.0 app/views/dorsale/customer_vault/people/_show_tabs.html.slim
dorsale-3.3.0 app/views/dorsale/customer_vault/people/_show_tabs.html.slim