fix attribute
[roojs1] / examples / grid / calendar.js
index 56f6d94..8d4c6ca 100644 (file)
@@ -53,9 +53,16 @@ var Example = {
             listeners : {
                 eventrender : function(c, rec) {
                     rec.data.time = ''; // not needed
-                    rec.data.title = rec.data.person_id_name + ' ' + rec.data.project_id_name;
-                    rec.data.qtip  = rec.data.summary;
-                    rec.data.cls = "x-fixme";
+                    rec.data.title = rec.data.developer_id_name + ' ' + rec.data.project_id_name;
+                    rec.data.qtip  = '#' + rec.data.id + ' ' + rec.data.summary;
+                    
+                    if (rec.data.estimated) {
+                        rec.data.cls = "Greys-q3-6"; // grey...
+                    } else {
+                        rec.data.cls = 'RdYlGn-q' + rec.data.priority_id_seqid +'-7'
+                    }
+                    
+                    
                     
                 }
             }