Sha256: d64755a2c7c92088ecc0ba9f6ea44bdbcf45ef93bd97b4e77a4c902e5bc79f74

Contents?: true

Size: 677 Bytes

Versions: 5

Compression:

Stored size: 677 Bytes

Contents

.filters#filters
  = render "selector"
  - if @view == "pending" || @view == "assigned"
    - Setting.unroll(:task_bucket).each do |value, key|
      .check_box
        %div{style: "float:right;"}
          = @task_total[key]
        = task_filter_checkbox(@view, key, @task_total[key]) + " " + t(value)
  - else # @view == "completed"
    - Setting.unroll(:task_completed).each do |value, key|
      .check_box
        %div{style: "float:right;"}
          = @task_total[key]
        = task_filter_checkbox(@view, key, @task_total[key]) + " " + t(value)
  .check_box
    %div{style: "float:right;"}
      %b= @task_total[:all]
    %b== #{t(:total_tasks, t(@view + '_tasks'))}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/tasks/_sidebar_index.html.haml
fat_free_crm-0.22.0 app/views/tasks/_sidebar_index.html.haml
fat_free_crm-0.21.0 app/views/tasks/_sidebar_index.html.haml
fat_free_crm-0.20.1 app/views/tasks/_sidebar_index.html.haml
fat_free_crm-0.20.0 app/views/tasks/_sidebar_index.html.haml