Skip to content

Commit 11a05d2

Browse files
author
Richard Jones
committed
Added simple help to the reminder emailer.
1 parent 60235c0 commit 11a05d2

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

scripts/roundup-reminder

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
# SOFTWARE.
2121

22-
# $Id: roundup-reminder,v 1.1 2002-04-15 06:37:31 richard Exp $
22+
# $Id: roundup-reminder,v 1.2 2002-05-09 02:52:56 richard Exp $
2323

2424
'''
2525
Simple script that emails all users of a tracker with the issues that
@@ -103,6 +103,16 @@ for user_id in db.user.list():
103103
print >>body, '%-11s %-4s %-9s %-52s'%(creation, issue_id,
104104
timeliness, title)
105105

106+
# some help to finish off
107+
print >>body, '''
108+
To view or respond to any of the issues listed above, visit the URL
109+
110+
%s
111+
112+
and click on "My Issues". Do NOT respond to this message.
113+
'''%db.config.ISSUE_TRACKER_WEB
114+
115+
106116
# now the HTML one
107117
part = writer.nextpart()
108118
body = part.startbody('text/html')
@@ -129,6 +139,10 @@ for user_id in db.user.list():
129139
<td>%s</td></tr>'''%(colour, creation, issue_id, timeliness, title)
130140
print >>body, '</table>'
131141

142+
print >>body, '''<p>To view or respond to any of the issues listed
143+
above, simply click on the issue ID. Do <b>not</b> respond to
144+
this message.</p>'''
145+
132146
# finish of the multipart
133147
writer.lastpart()
134148

@@ -138,5 +152,10 @@ for user_id in db.user.list():
138152

139153
#
140154
# $Log: not supported by cvs2svn $
155+
# Revision 1.1 2002/04/15 06:37:31 richard
156+
# Here's a cron-job reminder script that we're going to be using here at
157+
# ekit. Might be useful for other people. Could use some work making it more
158+
# general and easier to customise.
159+
#
141160
#
142161
#

0 commit comments

Comments
 (0)