Details

Applies to
1.5.0
Purpose

Minor improvements to the Toggle line numbers link that appears in formatted code

Description

This patch changes the text "Toggle line numbers" that appears in formatted code listings into an internationalizable text phrase, so it can be properly translated. Also the toggle link itself is suppressed in hardcopy print output where it makes no sense, via CSS changes. (The line numbers are not altered in any way, only the link to toggle them). -- DeronMeranda 2006-01-13 22:30:09

Patch

toggle-linenumber-patch.diff It patches the following files:

For history only, older patches are text_html.py.diff classic-print.css.diff modern-print.css.diff rightsidebar-print.css.diff

Discussion

So how does one toggle the line numbers in print view when the link is invisible? -- ThomasWaldmann 2006-01-14 01:57:24

New patch submitted -- DeronMeranda 2006-01-16 16:34:10

Plan


CategoryMoinMoinPatch

MoinMoin: MoinMoinPatch/ToggleLineNumberForPrintAndI18N (last edited 2007-10-29 19:19:21 by localhost)