diff options
| author | bwarsaw | 2002-08-09 21:46:38 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-08-09 21:46:38 +0000 |
| commit | 7e3607bd453120aa3bccdea98e6a4ba203333666 (patch) | |
| tree | ed88ade961d96b0a87e044b0892f00bddf093629 | |
| parent | 8457f099c3a43d5edb572fe9e4e3ccff04633a20 (diff) | |
| download | mailman-7e3607bd453120aa3bccdea98e6a4ba203333666.tar.gz mailman-7e3607bd453120aa3bccdea98e6a4ba203333666.tar.zst mailman-7e3607bd453120aa3bccdea98e6a4ba203333666.zip | |
| -rw-r--r-- | Mailman/Cgi/confirm.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index 9558beda4..e40861311 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -256,9 +256,12 @@ def subscription_prompt(mlist, doc, cookie, userdesc): ## PasswordBox('password', password)]) ## table.AddRow([Label(_('Password (confirm):')), ## PasswordBox('pwconfirm', password)]) - table.AddRow([Label(_('Receive digests?')), - RadioButtonArray('digests', (_('No'), _('Yes')), - checked=digest, values=(0, 1))]) + # Only give them a choice to receive digests if they actually have a + # choice <wink>. + if mlist.nondigestable and mlist.digestable: + table.AddRow([Label(_('Receive digests?')), + RadioButtonArray('digests', (_('No'), _('Yes')), + checked=digest, values=(0, 1))]) langs = mlist.GetAvailableLanguages() values = [mm_cfg.LC_DESCRIPTIONS[l][0] for l in langs] try: |
