Project

General

Profile

Patch #16002 ยป assigned-to-my-group-css.patch

Massimo Rossello, 2014-01-30 19:15

View differences:

app/models/issue.rb
1089 1089
    if user.logged?
1090 1090
      s << ' created-by-me' if author_id == user.id
1091 1091
      s << ' assigned-to-me' if assigned_to_id == user.id
1092
      s << ' assigned-to-my-group' if user.groups.any? {|g| g.id = assigned_to_id}
1092
      s << ' assigned-to-my-group' if user.groups.any? {|g| g.id == assigned_to_id}
1093 1093
    end
1094 1094
    s
1095 1095
  end
    (1-1/1)