summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbhilash Raj2015-04-15 22:47:40 -0400
committerAbhilash Raj2015-04-15 22:47:40 -0400
commitbc515c8ce1dd7e0f2221f5ae5f572d2e42d9fe18 (patch)
treead16dc22715fb2f3077a70e6c990239dfcaad7b8 /src
parent7317b94a0b746f0287ecbc5654ec544ce0112adb (diff)
downloadmailman-bc515c8ce1dd7e0f2221f5ae5f572d2e42d9fe18.tar.gz
mailman-bc515c8ce1dd7e0f2221f5ae5f572d2e42d9fe18.tar.zst
mailman-bc515c8ce1dd7e0f2221f5ae5f572d2e42d9fe18.zip
* Remove the admindb url from the template so that the approve
requests no longer have a wrong url * Change the reason for holding the message to 'N/A' from 'XXX'
Diffstat (limited to 'src')
-rw-r--r--src/mailman/chains/hold.py2
-rw-r--r--src/mailman/templates/en/postauth.txt7
2 files changed, 3 insertions, 6 deletions
diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py
index ee1762442..3773aa3e5 100644
--- a/src/mailman/chains/hold.py
+++ b/src/mailman/chains/hold.py
@@ -158,7 +158,7 @@ class HoldChain(TerminalChainBase):
listname = mlist.fqdn_listname,
subject = original_subject,
sender = msg.sender,
- reason = 'XXX', #reason,
+ reason = 'N/A', #reason,
confirmurl = '{0}/{1}'.format(mlist.script_url('confirm'), token),
admindb_url = mlist.script_url('admindb'),
)
diff --git a/src/mailman/templates/en/postauth.txt b/src/mailman/templates/en/postauth.txt
index fce85f52f..472ed32b4 100644
--- a/src/mailman/templates/en/postauth.txt
+++ b/src/mailman/templates/en/postauth.txt
@@ -6,8 +6,5 @@ following mailing list posting:
Subject: $subject
Reason: $reason
-At your convenience, visit:
-
- $admindb_url
-
-to approve or deny the request.
+At your convenience, visit your dashboard to approve or deny the
+request.