%tr{ :class => "#{'overdue' if task.overdue? && task.open? } #{ 'mine' if task.assigned?(current_user) && task.open?}"}
  %td.status
    = task_status(task,:content)
  %td.name
    = link_to task.name, project_task_list_task_path(project,task_list,task)
    - unless (task.due_on.nil? && task.unassigned?) || task.closed?
      %span.assigned
        - if task.due_on
          = due_on(task)
        - unless sub_action == 'mine'
          = "-" unless task.assigned.nil? || task.due_on.nil?
          = link_to task.assigned.name, user_path(task.assigned) unless task.assigned.nil?

%tr{ :class => "#{'overdue' if task.overdue? && task.open? } #{ 'mine' if task.assigned?(current_user) && task.open?}"}
  %td.status
    = task_status(task,:content)
  %td.name
    = link_to task.name, project_task_list_task_path(project,task_list,task)
    - unless (task.due_on.nil? && task.unassigned?) || task.closed?
      %span.assigned
        - if task.due_on
          = due_on(task)
        - unless sub_action == 'mine'
          = "-" unless task.assigned.nil? || task.due_on.nil?
          = link_to task.assigned.name, user_path(task.assigned.user) unless task.assigned.nil?

Fix for bug in Tender: 84-my-user-page-is-broken
Fix for bug in Tender: 84-my-user-page-is-broken
