[rt-users] maintainably tagging custom fields for CSS

Espen Wiborg espenhw at ovitas.no
Wed Aug 22 03:59:35 EDT 2007


Jesse Vincent <jesse at bestpractical.com> writes:
> On Aug 21, 2007, at 12:54 PM, Nicholas Clark wrote:
>> I've attached a suggested implementation, as a diff from 3.6-RELEASE
>>
> Since you can have multiple CSS classes for any one item, I'd think it
> would make more sense to do
>
> customfield edit foo
>
> rather than customfield-edit-foo
>
> That way you could more easily theme all custom field values or all
> custom field values of a certain name, regardless of whether they're
> edit or display.
>
> Does that seem sane?

That gets my vote.

-- 
Espen Wiborg <espenhw at ovitas.no>
Mathematicians are like Frenchmen: whatever you say to them they
translate into their own language and forthwith it is something
entirely different.
                -- Johann Wolfgang von Goethe



More information about the rt-users mailing list