Update chart-default.xsl to show retrograde mark

This commit is contained in:
Gergely Polonkai 2014-08-26 19:16:36 +02:00
parent 1bdf0ee31b
commit 12e3514ce2

View File

@ -569,6 +569,14 @@
<xsl:attribute name="xlink:href"><xsl:value-of select="concat('#', $planet_base, '_tmpl')"/></xsl:attribute> <xsl:attribute name="xlink:href"><xsl:value-of select="concat('#', $planet_base, '_tmpl')"/></xsl:attribute>
<xsl:attribute name="transform"><xsl:value-of select="concat('translate(', 330 + @dist * 35, ',-15) rotate(', @degree - $asc_rotate ,',15,15)')"/></xsl:attribute> <xsl:attribute name="transform"><xsl:value-of select="concat('translate(', 330 + @dist * 35, ',-15) rotate(', @degree - $asc_rotate ,',15,15)')"/></xsl:attribute>
</use> </use>
<xsl:choose>
<xsl:when test="@retrograde='True'">
<text>
<xsl:attribute name="transform"><xsl:value-of select="concat('translate(', 375 + @dist * 35, ',-30) rotate(', @degree - $asc_rotate, ',15,15)')"/></xsl:attribute>
R
</text>
</xsl:when>
</xsl:choose>
</g> </g>
<xsl:choose> <xsl:choose>
<xsl:when test="@name='GSWE_PLANET_MOON_NODE'"> <xsl:when test="@name='GSWE_PLANET_MOON_NODE'">