Sha256: d1eacf3351e3d6e0ee6122242b3aad5f358ab64200cd420c731d81816af9e4f2

Contents?: true

Size: 618 Bytes

Versions: 13

Compression:

Stored size: 618 Bytes

Contents

= styles_for :task

- if @view == "completed"
  - buckets = Setting.unroll(:task_completed)
  .title
    = t(:completed_tasks)
    = image_tag("loading.gif", size: :thumb, id: "loading", style: "display: none;")
- else
  - buckets = Setting.unroll(:task_bucket)
  = render "title"

.log#tasks
  - buckets.each do |value, key|
    %div{ hidden_if(filtered_out?(@view, key)), id: "list_#{key}" }
      %h3{class: key}= t(value)
      .bucket{id: key}= render partial: @view, collection: @tasks[key] || [], locals: { bucket: key }
  - if @tasks.values.flatten.blank?
    = render "empty"

#export= render "shared/export"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/tasks/index.html.haml
fat_free_crm-0.22.0 app/views/tasks/index.html.haml
fat_free_crm-0.21.0 app/views/tasks/index.html.haml
fat_free_crm-0.20.1 app/views/tasks/index.html.haml
fat_free_crm-0.20.0 app/views/tasks/index.html.haml
fat_free_crm-0.19.2 app/views/tasks/index.html.haml
fat_free_crm-0.19.0 app/views/tasks/index.html.haml
fat_free_crm-0.18.2 app/views/tasks/index.html.haml
fat_free_crm-0.17.3 app/views/tasks/index.html.haml
fat_free_crm-0.18.1 app/views/tasks/index.html.haml
fat_free_crm-0.18.0 app/views/tasks/index.html.haml
fat_free_crm-0.17.2 app/views/tasks/index.html.haml
fat_free_crm-0.17.1 app/views/tasks/index.html.haml