Artifact
558f74aaa3a568a20b40c9f8f6722625a06e22dc:
Ticket change
[558f74aaa3]
- Ticket [bb4e02048d]
Tickets: make the (html & th1) template for ticket reports editable status still Open with 1 other change
by
anonymous
2010-12-28 10:20:56.
D 2010-12-28T10:20:56
J +comment \n\n<hr\s/><i>anonymous\sclaiming\sto\sbe\sAlex\sadded\son\s2010-12-28\s10:20:56:</i><br\s/>\nOK,\sfound\sa\smore\scomplete\sworkaround\sfor\sdecent\sbrowsers\s(latest\sOpera/Firefox/Chrome/maybe\sIE9)\sthat\sallows\sper-column\sstyling.\sIt\sis\sbased\son\spassing\svalues\sin\srarely-used\sCSS\sproperties\sand\sCSS3\snth-child\sproperty.<br>\r\nFirst,\swe\sneed\sto\sagree\sthat\sour\sticket\sreport\smight\ssound\sbad\sif\spronounced\sby\stext-to-speech\ssoftware.\sThen\swe\scan\suse\sthe\s'elevation'\sproperty\sfor\sour\sown\spurposes.\s'elevation:\s1deg;'\swill\sbe\sa\ssubstitute\sfor\s'class=myclass1',\s'elevation:\s2deg;'\sfor\s'class=myclass2',\setc.<br>\r\n<br>\r\nWHEN\sstatus='CLOSED'\sAND\sseverity='HIGH'\sTHEN\s'#909090;\selevation:\s1deg;'<br>\r\nWHEN\sstatus='CLOSED'\sTHEN\s'#909090;\selevation:\s2deg;'<br>\r\n<br>\r\nNote\sthe\sspaces\safter\sthe\sfirst\ssemicolon\sand\safter\sthe\s'elevation:'\sproperty,\sand\sthe\strailing\ssemicolon.<br>\r\nThen,\sin\sCSS<br>\r\n<br>\r\ntable.report\str[style~="1deg;"]\std:nth-child(1)\s{<br>\r\n\s\stext-decoration:\sline-through;<br>\r\n}<br>\r\n<br>\r\nAgain,\snote\sthe\strailing\ssemicolon\sand\slack\sof\sthe\sproperty\sname\sin\sthe\sselector.\sWe\sneed\sto\sfollow\sthis\ssyntax\sbecause\sa)\sattribute\stext\sis\sspace-separated\sin\s~=\smatches,\sand\sb)\ssome\sbrowsers\sinternally\srewrite\sCSS\sinto\sthis\s'canonical'\sform.<br>\r\nThese\ssettings\sstrike\sout\sthe\snumbers\sof\sthe\sclosed\shighly-severe\stickets,\sbut\sleave\sother\scolumns\sintact.\sBackground\scolor\sof\sall\sclosed\stickets\sis\sthe\ssame.<br>\r\nUnfortunately,\sIE7-8\sdoes\snot\ssupport\sthis.
K bb4e02048ddff8d549a2099442b81c21e49bf8cb
U anonymous
Z 14d261ab1d49674641e0581e40e49529