[Python-checkins] r88914 - tracker/instances/python-dev/html/issue.item.js

ezio.melotti python-checkins at python.org
Wed Oct 26 10:45:41 CEST 2011


Author: ezio.melotti
Date: Wed Oct 26 10:45:41 2011
New Revision: 88914

Log:
Mark automated messages with a different background.

Modified:
   tracker/instances/python-dev/html/issue.item.js

Modified: tracker/instances/python-dev/html/issue.item.js
==============================================================================
--- tracker/instances/python-dev/html/issue.item.js	(original)
+++ tracker/instances/python-dev/html/issue.item.js	Wed Oct 26 10:45:41 2011
@@ -313,3 +313,14 @@
     if (link.length != 0)
         link.attr('href', link.attr('href').split('?')[0]);
 });
+
+
+$(document).ready(function() {
+    /* Mark automated messages with a different background */
+    $('table.messages th:nth-child(2)').each(function (i, e) {
+        var e = $(e);
+        if (/\(python-dev\)$/.test(e.text()))
+            e.parent().next().find('td.content').css(
+                'background-color', '#efeff9');
+    });
+});


More information about the Python-checkins mailing list