[Tracker-discuss] [issue461] Add note about the contributor agreement on the tracker

Ezio Melotti metatracker at psf.upfronthosting.co.za
Wed May 23 04:06:16 CEST 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Attached patch adds a box with a note about the contributor agreement on the "new issue" page when the user hasn't yet submitted the agreement.
The same note could be shown to user that haven't submitted the agreement:
 * if they are developers (maybe only in the new issue page);
 * on the issue page if the user has submitted a patch there;

_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue461>
_______________________________________________________
-------------- next part --------------
Index: html/style.css
===================================================================
--- html/style.css	(revision 88963)
+++ html/style.css	(working copy)
@@ -507,6 +507,13 @@
   font-size: 90%;
 }
 
+p#contribform {
+    border: 1px solid #000000;
+    padding: .5em;
+    color: #000000;
+    background-color: #ffdddd;
+}
+
 .calendar_display {
   text-align: center;
 }
Index: html/issue.item.html
===================================================================
--- html/issue.item.html	(revision 88963)
+++ html/issue.item.html	(working copy)
@@ -42,6 +42,12 @@
 
 <div tal:condition="context/is_view_ok">
 
+<p condition="python: not context.id and notrequest.user.contrib_form" id="contribform">
+    If you are contributing any patches or you are planning to,
+    please <a href="http://www.python.org/psf/contrib/">fill in the contributor
+    agreement</a> and send it to <a href="mailto:contributors at python.org">
+    contributors at python.org</a>, specifying your user name/id in the mail.</p>
+
 <form method="post" name="itemSynopsis"
       onSubmit="return submit_once()" enctype="multipart/form-data"
       tal:attributes="action context/designator">


More information about the Tracker-discuss mailing list