chiark / gitweb /
send voting url to admin not to voters
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 16 Nov 2010 12:19:42 +0000 (12:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 16 Nov 2010 12:19:42 +0000 (12:19 +0000)
sballot/new-issue

index 4bff90722dfd4adbaec97e6b72e7c14393e00727..79baa0f4b98691f57e0875f0ce2eedbe717ac788 100755 (executable)
@@ -141,9 +141,6 @@ software, it may be necessary to initiate several) and explaining what
 to enter into the "vote" box on the voting page.  Please DO NOT VOTE
 until you've received that confirmation and instructions.
 
-You may then cast (and change) your vote here:
-  $setting{CGIBASEURL}/g.$setting{ABBREV}/sballot?issue=$issueid
-
 Thanks for your attention,
 moderation system robot
 
@@ -157,3 +154,20 @@ voted.
 END
     sendmail_finish();
 }
+
+sendmail_start();
+print P <<END or warn $!;
+To: $setting{ADMIN}
+Subject: ballot $issueid URL
+
+Ballot successfully started
+  Group: $setting{GROUP}
+  Issue ID: $issueid
+  Title: $title
+
+URL:
+  $setting{CGIBASEURL}/g.$setting{ABBREV}/sballot?issue=$issueid
+
+END
+
+sendmail_finish();