[Mailman-Developers] Display full name in roster display
Net Ops Center
noc at kaibren.com
Sat Apr 12 03:56:13 EDT 2003
The following diff to HTMLFormatter.py in Ver 2.1.1 will display the full
name if defined in the roster (view subscriber) list. It will display in
full email address format as:
"Full Name" < [obscured]email.addr >
Caveat- I don't think this breaks anything else. I don't know for sure.
Enjoy,
MB
/usr/local/mailman/Mailman/$ diff HTMLFormatter.py.dist HTMLFormatter.py
92c92
< showing = Utils.ObscureEmail(person, for_text=1)
---
> email = Utils.ObscureEmail(person, for_text=1)
94c94,99
< showing = person
---
> email = person
> fullname = Utils.uncanonstr(self.getMemberName(person), lang)
> if fullname:
> showing = '"%s" < %s >' % (fullname, email)
> else:
> showing = email
More information about the Mailman-Developers
mailing list