[Mailman-Developers] New Bounce system

Dan Mick dmick@utopia.West.Sun.COM
Tue, 01 Jan 2002 19:27:05 -0800


> > I thought about it for the membership list admin pages, but I couldn't
> > think of a good u/i that wouldn't clutter up that page even more.  And
> > I'm not sure it's worth it.
> 
> A small string under the "nomail" box, if checked, would do it; I'm not sure it
> would add a lot to the size (but might; haven't futzed with the layout).  Given
> that we're already two vertical spaces because of the "realname" box, it might
> fit without changing the size.

This doesn't look hideous (in output; the code's a complete hack of course):

Index: admin.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Cgi/admin.py,v
retrieving revision 2.50
diff -r2.50 admin.py
912c912,915
<             cells.append(Center(box).Format())
---
>           if opt == 'nomail' and value == 'on':
>                 cells.append(Center(box).Format() + '<center>' + ('unknown', '
byuser', 'byadmin', 'bybounce')[mlist.getDeliveryStatus(addr)-1] + '</center>')
>           else:
>                 cells.append(Center(box).Format())

The strings could be shortened of course, perhaps even to one letter.