Details
- Applies to
- 1.8, 1.9.
- Purpose
- Allow customization of page history appearance.
- Description
This patch makes page history set a CSS class for each column. This allows stylesheets to customize columns appearance, for example to change page history in Solenoid theme from this:
to this:
Patch
CssClassForPageHistoryComment.patch
Discussion
RenatoSilva - Thomas, I don't think a special class for table header is needed. If you want separate styles, you can use th.columnN, td.columnN, and if you want common style you can use just columnN instead of having to use a columnN, hcolumnN. About the generic thing, the Solenoid theme is specific about columns of the page history, other td.columnN elements are not affected.
But it is both using td, not th/td. -- ThomasWaldmann 2009-09-06 22:44:51
RenatoSilva - You mean that the table header is not th? Ok then.
I think you can use nth-child. -- EugeneSyromyatnikov 2009-11-30 05:21:01
Plan
- Priority:
- Assigned to:
Status: implemented by http://hg.moinmo.in/moin/1.8/rev/fcdee4a8809c - hcolumn<idx> for the table header, column<idx> for the table data. please note that this is a generic thing, not only used for page history.