diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-09-01 06:55:08 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-09-01 06:55:08 +0900 |
commit | 170bba3f35048cdbb95713fd1d45dd43b301d005 (patch) | |
tree | 59ae73b034603fd51ffdf3371126e921acb51156 /Mailman/htmlformat.py | |
parent | 066507c7aba29d9459e82137ae95ee42e6fe5e4e (diff) | |
parent | 7c3207ca991ee5723ff7c656d00f263d82b3f480 (diff) | |
download | mailman2-170bba3f35048cdbb95713fd1d45dd43b301d005.tar.gz mailman2-170bba3f35048cdbb95713fd1d45dd43b301d005.tar.xz mailman2-170bba3f35048cdbb95713fd1d45dd43b301d005.zip |
merge lp:mailman/2.1 up to rev 1722
Diffstat (limited to '')
-rwxr-xr-x | Mailman/htmlformat.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index 19f6457d..210150ed 100755 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -318,15 +318,9 @@ class Document(Container): 'content="text/html; charset=%s">' % charset) if self.title: output.append('%s<TITLE>%s</TITLE>' % (tab, self.title)) - # This is a kluge to only add this style to the page that needs it. - parts = Utils.GetPathPieces() - if parts: - if len(parts) > 2 and parts[-1] not in ('add', 'remove', - 'change'): - parts[2] = 'list' - if (len(parts) == 2 and parts[1] == 'members' or - len(parts) > 2 and parts[1:3] == ['members', 'list']): - output.append("""\ + # Add CSS to visually hide some labeling text but allow screen + # readers to read it. + output.append("""\ <style type="text/css"> div.hidden {position:absolute; |