in report user_timesheet and users_timesheet, the background of sunday column is now grey even if there is no saturday before.
bzr revid: qdp-3df256bffe6dc332b35a06b922a0e442c63a2e8d
This commit is contained in:
parent
1ec6444a2d
commit
8ddcbe88ed
|
@ -30,7 +30,7 @@
|
|||
<blockFont name="Helvetica" size="6" start="0,2" stop="-2,-2"/>
|
||||
<blockFont name="Helvetica-BoldOblique" size="8" start="0,-1" stop="-1,-1"/>
|
||||
<blockBackground colorName="#AAAAAA" start="1,0" stop="-2,1"/>
|
||||
<xsl:for-each select="/report/days/day[@name='Sat']">
|
||||
<xsl:for-each select="/report/days/day[@name='Sat' or @name='Sun']">
|
||||
<xsl:variable name="col" select="attribute::number" />
|
||||
<blockBackground>
|
||||
<xsl:attribute name="colorName">lightgrey</xsl:attribute>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<xsl:text>,0</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="stop">
|
||||
<xsl:value-of select="$col+1" />
|
||||
<xsl:value-of select="$col" />
|
||||
<xsl:text>,-1</xsl:text>
|
||||
</xsl:attribute>
|
||||
</blockBackground>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<blockFont name="Helvetica" size="6" start="0,2" stop="-2,-2"/>
|
||||
<blockFont name="Helvetica-BoldOblique" size="8" start="0,-1" stop="-1,-1"/>
|
||||
<blockBackground colorName="#AAAAAA" start="1,0" stop="-2,1"/>
|
||||
<xsl:for-each select="/report/days/day[@name='Sat']">
|
||||
<xsl:for-each select="/report/days/day[@name='Sat' or @name='Sun']">
|
||||
<xsl:variable name="col" select="attribute::number" />
|
||||
<blockBackground>
|
||||
<xsl:attribute name="colorName">lightgrey</xsl:attribute>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<xsl:text>,0</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="stop">
|
||||
<xsl:value-of select="$col+1" />
|
||||
<xsl:value-of select="$col" />
|
||||
<xsl:text>,-1</xsl:text>
|
||||
</xsl:attribute>
|
||||
</blockBackground>
|
||||
|
|
Loading…
Reference in New Issue