update.js.haml 214 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1 2 3 4 5 6
- if @team_member.valid?
  :plain
    $("##{dom_id(@team_member)}").effect("highlight", {color: "#529214"}, 1000);;
- else
  :plain
    $("##{dom_id(@team_member)}").effect("highlight", {color: "#D12F19"}, 1000);;