[publican-list] Dual color highlighting of remarks

Jeffrey Fearn jfearn at redhat.com
Tue Jul 6 03:09:09 UTC 2010


Joshua Wulf wrote:
> Currently we can call out changed content via the <remark> tag, which 
> applies highlighting.
> 
> Could we use an attribute of remark to have a primary and secondary 
> color? I have some requests for yellow for "changed since last release" 
> and orange for "changed since last review".

You can do this in the brand:

1: set the role to something
2: for HTML add an entry to the bottom of the brand css file
3: for override <xsl:template match="comment|remark"> and change the 
xsl:use-attribute-sets based on role.

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list