Sha256: 5f42951cea0a775742669e6413cd80c5b92d9fc43d7773a9c569c00ae406c704

Contents?: true

Size: 1.1 KB

Versions: 43

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)
      = Dorsale::CustomerVault::Event.ts
      = " "
      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

43 entries across 43 versions & 1 rubygems

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