~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to Mailman/HTMLFormatter.py

  • Committer: Mark Sapiro
  • Date: 2009-02-06 22:37:30 UTC
  • mfrom: (1006.1.28 2.2)
  • Revision ID: mark@msapiro.net-20090206223730-y7l41qxv9faaglgs
Merged changes from 2.2 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
 
1
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
2
2
#
3
3
# This program is free software; you can redistribute it and/or
4
4
# modify it under the terms of the GNU General Public License
90
90
                showing = Utils.ObscureEmail(person, for_text=1)
91
91
            else:
92
92
                showing = person
 
93
            realname = Utils.uncanonstr(self.getMemberName(person), lang)
 
94
            if realname:
 
95
                showing += " (%s)" % Utils.websafe(realname)
93
96
            got = Link(url, showing)
94
97
            if self.getDeliveryStatus(person) <> MemberAdaptor.ENABLED:
95
98
                got = Italic('(', got, ')')