Sha256: ad9e7ea0d195de63c058231ec23935120d05b7dbaae3708efe2496d0714ef27b

Contents?: true

Size: 1005 Bytes

Versions: 1

Compression:

Stored size: 1005 Bytes

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

  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

  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

1 entries across 1 versions & 1 rubygems

Version Path
dorsale-3.2.0 app/views/dorsale/customer_vault/people/_tabs.html.slim