Browse Source

Fix dashboard rows not changing colors

Maarten van den Berg 8 years ago
parent
commit
3ac52a6d18
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/views/dashboard/home.html.haml

+ 2 - 2
app/views/dashboard/home.html.haml

@@ -24,7 +24,7 @@
24 24
               %tbody
25 25
                 - @need_response.each do |p|
26 26
                   - e = p.activity
27
-                  %tr{class: p.row_class, data: {activity_id: e.id}}
27
+                  %tr{class: p.row_class, data: {activity_id: e.id, person_id: current_person.id}}
28 28
                     %td
29 29
                       = e.public_name
30 30
                       - if e.secret_name && e.participants.first.is_organizer
@@ -79,7 +79,7 @@
79 79
             %tbody
80 80
               - @upcoming.each do |p|
81 81
                 - e = p.activity
82
-                %tr{class: p.row_class, data: {activity_id: e.id}}
82
+                %tr{class: p.row_class, data: {activity_id: e.id, person_id: current_person.id}}
83 83
                   %td
84 84
                     = e.public_name
85 85
                   %td