Sha256: 7e17dba2071d386c373f82c3220f885f731eed1106dc825b4332cbed13429b65

Contents?: true

Size: 997 Bytes

Versions: 54

Compression:

Stored size: 997 Bytes

Contents

.context
  .context-header
    = icon("check-square-o")
    = " "
    = ::Dorsale::Flyboy::Task.ts

  ul.list-group
    - person.tasks.where(done: false).map do |task|
      li.list-group-item
        a href=dorsale.flyboy_task_path(task)
          = task

        - if policy(task).complete?
          span.pull-right
            = complete_button dorsale.complete_flyboy_task_path(task)

  .context-footer
    - if policy(::Dorsale::Flyboy::Task).create?
      = create_button dorsale.new_flyboy_task_path(taskable_guid: person.guid), action: :new_task

.context
  .context-header
    = icon("link")
    = " "
    = ::Dorsale::CustomerVault::Link.ts

  ul.list-group
    - person.links.map do |link|
      li.list-group-item
        a href=dorsale.polymorphic_path(link.other_person)
          = link.other_person
        = " / "
        = link.title

  .context-footer
    - if policy(person).update?
      = create_button dorsale.new_customer_vault_person_link_path(person), action: :new_link

Version data entries

54 entries across 54 versions & 1 rubygems

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