From 2a7cad5a5bd3eac50b148dcca6d5681a6ca2e659 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 9 May 2002 02:52:56 +0000 Subject: [PATCH] Added simple help to the reminder emailer. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@724 57a73879-2fb5-44c3-a270-3262357dd7e2 --- scripts/roundup-reminder | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/scripts/roundup-reminder b/scripts/roundup-reminder index f5940f9..b3a0042 100755 --- a/scripts/roundup-reminder +++ b/scripts/roundup-reminder @@ -19,7 +19,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# $Id: roundup-reminder,v 1.1 2002-04-15 06:37:31 richard Exp $ +# $Id: roundup-reminder,v 1.2 2002-05-09 02:52:56 richard Exp $ ''' Simple script that emails all users of a tracker with the issues that @@ -103,6 +103,16 @@ for user_id in db.user.list(): print >>body, '%-11s %-4s %-9s %-52s'%(creation, issue_id, timeliness, title) + # some help to finish off + print >>body, ''' +To view or respond to any of the issues listed above, visit the URL + + %s + +and click on "My Issues". Do NOT respond to this message. +'''%db.config.ISSUE_TRACKER_WEB + + # now the HTML one part = writer.nextpart() body = part.startbody('text/html') @@ -129,6 +139,10 @@ for user_id in db.user.list(): %s'''%(colour, creation, issue_id, timeliness, title) print >>body, '' + print >>body, '''

To view or respond to any of the issues listed + above, simply click on the issue ID. Do not respond to + this message.

''' + # finish of the multipart writer.lastpart() @@ -138,5 +152,10 @@ for user_id in db.user.list(): # # $Log: not supported by cvs2svn $ +# Revision 1.1 2002/04/15 06:37:31 richard +# Here's a cron-job reminder script that we're going to be using here at +# ekit. Might be useful for other people. Could use some work making it more +# general and easier to customise. +# # # -- 2.30.2