Ezio Melotti <[email protected]> added the comment:

> In http://bugs.python.org/issue12792 I proposed
> a doc patch to document [email protected].

This is now documented in the devguide, the attached patch also adds a note 
that appears when the "security" type is selected.

_______________________________________________________
PSF Meta Tracker <[email protected]>
<http://psf.upfronthosting.co.za/roundup/meta/issue393>
_______________________________________________________
Index: html/issue.item.js
===================================================================
--- html/issue.item.js  (revision 88963)
+++ html/issue.item.js  (working copy)
@@ -351,3 +351,17 @@
                 'background-color', '#efeff9');
     });
 });
+
+
+$(document).ready(function() {
+    /* Show a note about [email protected] for security issues */
+    $('td#issue_type select').change(function() {
+        if ($(this).find("option:selected").text() == 'security') {
+            var p = $(['<p><strong>Note:</strong> If you think the issue ',
+                       'should<br>not be made public, please report<br>',
+                       'it to <a href="mailto:[email protected]";>',
+                       '[email protected]</a> instead.</p>'].join('\n'));
+            $(this).after(p);
+        }
+    });
+});
Index: html/issue.item.html
===================================================================
--- html/issue.item.html        (revision 88963)
+++ html/issue.item.html        (working copy)
@@ -64,7 +64,7 @@
  <th class="required" i18n:translate="">
    <a href="http://docs.python.org/devguide/triaging.html#type";
       target="_blank" i18n:translate="">Type</a>:</th>
- <td tal:content="structure context/type/menu">type</td>
+ <td tal:content="structure context/type/menu" id="issue_type">type</td>
  <th i18n:translate="">
    <a href="http://docs.python.org/devguide/triaging.html#stage";
       target="_blank" i18n:translate="">Stage</a>:
Index: html/style.css
===================================================================
--- html/style.css      (revision 88963)
+++ html/style.css      (working copy)
@@ -502,6 +502,14 @@
   text-decoration: line-through !important;
 }
 
+#issue_type p {
+    border: 1px solid black;
+    color: #000000;
+    background-color: #ffdddd;
+    margin: .2em 0 0;
+    padding: .3em;
+}
+
 #submit_td input{
   padding: .3em .7em;
   font-size: 90%;
_______________________________________________
Tracker-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to