[Mailman-Users] Display Real Name in Subscriber List
Martin Schütte
lists at mschuette.name
Thu Feb 5 22:50:29 CET 2009
Wyn schrieb:
> Has any one any ideas how to display a real name next to the email address
> in Subscriber List
I found the required change to be small enough and use the following code:
--- Mailman/HTMLFormatter.py.old Mon Mar 12 23:25:34 2007
+++ Mailman/HTMLFormatter.py Mon Mar 12 23:28:38 2007
@@ -94,6 +94,9 @@
showing = Utils.ObscureEmail(person, for_text=1)
else:
showing = person
+ realname = Utils.uncanonstr(self.getMemberName(person), lang)
+ if realname:
+ showing += " (%s)" % Utils.websafe(realname)
got = Link(url, showing)
if self.getDeliveryStatus(person) <> MemberAdaptor.ENABLED:
got = Italic('(', got, ')')
--
Martin Schütte
More information about the Mailman-Users
mailing list