id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 10667 Better HTML tag metadata in page output chad@… chad@… "Over at http://genshi.edgewall.org/ticket/521 I documented some of the hell that is using Genshi/XPath for interface customizations. While I like that the approach offers a way to do customizations that survive upgrades, it falls down a little in practice because the page output does not have enough tag metadata. The example from that link above is customizing some of the labels in ticket change history. I didn't want to use the term 'Reporter'. In most other places in the interface, I was able to fairly easily change it out via a simple XPath selector. But in the change history it's just sitting inside a strong tag with no attributes. Hours later, I had finally figured out the proper XPath mojo that actually worked in Genshi to select those strong tags based on if they contained the text 'Reporter'. The point is that if those tags had been properly classed, it would have taken me two minutes instead of hours, and the selector would be more accurate and consistent. Outside of adding a bit more data that has to come across the wire, I see no downside in being more verbose with tag attributes in the page output. So my specific request is to please consider a more thorough treatment of the HTML document structure, to include tag metadata in a consistent manner that allows all aspects of the interface to be easily customized." enhancement closed normal 1.0 ticket system 0.12.2 minor fixed ethan.jucovy@… `trac-field-` classes added to field changes in the ticket change history [11112]