Skip to content
Extraits de code Groupes Projets
Valider 0b56ade4 rédigé par Dan Hansen's avatar Dan Hansen
Parcourir les fichiers

basic unread/read states

parent 3941d562
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter