Sha256: b26d07c1a09c9589365a1488a1d57f4b21bbdc3394c1dde01ab32756202e4a49

Contents?: true

Size: 1.09 KB

Versions: 18

Compression:

Stored size: 1.09 KB

Contents

%li.highlight[completed]
  - unless completed.category.blank?
    .strip{:class => completed.category}= t(completed.category)
  - else
    .strip.white #{t :other}

  .tools
    - if shown_on_landing_page?
      = link_to_discard(completed) + (current_user == completed.user ? ' | ' : '')
    - if can?(:manage, completed)
      = link_to_task_uncomplete(completed, bucket)  + ' | '
      = link_to_task_delete(completed, bucket)

  .indent
    %strike= auto_link h(completed.name)
    - if completed.asset_id?
      == #{t :related} #{link_to(h(completed.asset.name), polymorphic_url(completed.asset))}
    –
    %tt
      %span.cool
        -# :task_completed_by: "completed {{time_ago}} ago by {{user}}"
        = t(:task_completed_by, :time_ago => distance_of_time_in_words(completed.completed_at, Time.now), :date => l(completed.completed_at, :format => :long), :user => ((completed.completor.id != current_user.id) ? link_to(h(completed.completor.full_name), user_path(completed.completor)) : t(:me))).html_safe
    - unless completed.background_info.blank?
      %div
        %dt= completed.background_info

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.15.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.16.4 app/views/tasks/_completed.html.haml
fat_free_crm-0.14.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.15.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.16.3 app/views/tasks/_completed.html.haml
fat_free_crm-0.16.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.16.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.16.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.15.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.15.0.beta.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.15.0.beta app/views/tasks/_completed.html.haml
fat_free_crm-0.14.0 app/views/tasks/_completed.html.haml
reduced_fat_crm-0.15.0.beta app/views/tasks/_completed.html.haml
reduced_fat_crm-0.14.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.13.6 app/views/tasks/_completed.html.haml
fat_free_crm-0.13.5 app/views/tasks/_completed.html.haml
fat_free_crm-0.13.4 app/views/tasks/_completed.html.haml