Sha256: f49249f71c7cb8c3e400e2bbb3915f69dc76654d850ca17455fd523828ade154
Contents?: true
Size: 1002 Bytes
Versions: 8
Compression:
Stored size: 1002 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.name - 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
8 entries across 8 versions & 1 rubygems