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-3.7.6 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.7.5 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.7.4 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.7.2 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.7.1 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.7.0 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.6.1 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.6.0 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.5.2 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.5.1 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.5.0 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.4.0 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.3.0 app/views/dorsale/customer_vault/people/_data_context.html.slim
dorsale-3.2.0 app/views/dorsale/customer_vault/people/_data_context.html.slim