basic unread/read states
This commit is contained in:
parent
3941d562a8
commit
0b56ade468
2 changed files with 7 additions and 1 deletions
|
|
@ -52,7 +52,9 @@
|
|||
|
||||
$.each(self.notifications.notifications, function(index, notifications) {
|
||||
$.each(notifications, function(index, notification) {
|
||||
$("<div/>", { "class": "notification_element" })
|
||||
$("<div/>")
|
||||
.addClass("notification_element")
|
||||
.addClass((notification.unread) ? "unread" : "read" )
|
||||
.html(notification.translation)
|
||||
.prepend($("<img/>", { src: notification.actors[0].avatar }))
|
||||
.prependTo(self.dropdownNotifications);
|
||||
|
|
|
|||
|
|
@ -3082,6 +3082,10 @@ ul.left_nav
|
|||
.notification_element
|
||||
:padding 10px 20px
|
||||
:min-height 30px
|
||||
.unread
|
||||
:background #CCC
|
||||
.read
|
||||
:background white
|
||||
|
||||
img
|
||||
:height 30px
|
||||
|
|
|
|||
Loading…
Reference in a new issue