Sha256: 626503e28de870a3bd6c2d648eaabb676b34a720471f09db329169b890da77c0

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 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

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.19.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.19.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.18.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.17.3 app/views/tasks/_completed.html.haml
fat_free_crm-0.18.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.18.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.17.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.17.1 app/views/tasks/_completed.html.haml