diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index b45ca82..dd11808 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -123,6 +123,15 @@ class Task(models.Model):
     message = models.CharField(max_length=240)
     logfile = models.FilePathField(max_length=255, blank=True)
 
+    def outcome_highlight(self):
+        if   self.outcome==Task.OUTCOME_EXISTING:
+            ret=''
+        elif self.outcome==Task.OUTCOME_FAILED:
+            ret='class=error'
+        else:
+            ret='class=muted'
+        return ret
+
     class Meta:
         ordering = ('order', 'recipe' ,)
 
