Sha256: 95cb9d1bdae9dd8cf102f624d75251e357ca1728e6507a40d95a73f4b67f8331

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 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 ? ' | ' : '')
    = link_to_task_delete(completed, bucket) if current_user == completed.user

  .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(completed.completor.full_name, user_path(completed.completor)) : t(:me))).html_safe
    - unless completed.background_info.blank?
      %div
        %dt= h(completed.background_info)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.12.3 app/views/tasks/_completed.html.haml
fat_free_crm-0.12.2 app/views/tasks/_completed.html.haml
fat_free_crm-0.13.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.12.1 app/views/tasks/_completed.html.haml
fat_free_crm-0.13.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.12.0 app/views/tasks/_completed.html.haml
fat_free_crm-0.11.4 app/views/tasks/_completed.html.haml