add 'read' class ro read messages to match the 'unread' class associated with unread messages. This will keep us from attaching jquery functionality to notification types we may not know about.
This commit is contained in:
parent
f2be6e8bcf
commit
a7af886da2
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
.span-8.notifications_for_day
|
||||
- notes.each do |note|
|
||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"}
|
||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
|
||||
- if note.type == "Notifications::StartedSharing" && contact = current_user.contact_for(note[:target])
|
||||
.right
|
||||
= aspect_membership_dropdown(contact, note[:target], 'left')
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
= day
|
||||
%ul.notifications_for_day
|
||||
- notes.each do |note|
|
||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"}
|
||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
|
||||
|
||||
= person_image_link(note.actors.last)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue